How to read the input in coding console questions? | STDIN, STDOUT | HackerRank| Session With Sumit
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- In the video, we will try to understand, how we can read the input and write back the output for various #codingconsole based question. We will also try to understand the usage of Standard Input and the Standard Output for the case of Python.
#STDIN #STDOUT
Connect with me here:
LinkedIn: / ssumitshukla
Twitter: / swssumit
Facebook: / sumitshuklasws
These fundamentals are extremely important that people tend to avoid learning. Thanks!
Thanks, Ayush.
Yes,ur true.
Great explanation! much needed material for all jobseekers our there who will take Hackerrank tests in interviews.
Thank you so much! I was really confused before listening to your explanation.
Sir in hackerrank they provide us with some prewritten codes for some questions...so we have to follow that particular code and do coding or we can use our own logic....means if the haven't used functions in the prewritten code ...then can we use function or vice versa ?????
thanks for making things clear...
This was helpful!
Super helpful
Thank you so much❤
never used this platform, I was in practices before a test and had no idea- thanks for your explanation - SO whatever
Thanks ❤️
great thank you!
This is why people prefer leet code!
How did you comment out multiple lines of code without erasing everything?
selct all and press ctrl + /
How can I take input from STDIN using R (for Hackerrank Tests)?
Thank you sooo much ❤️
Good job
what to write to take input in C++
Is there any remaining video?
thanks
thanks!
have you done stdin using for loop
Tqu sir
how did you un-comment code so fast?
Bro final it's implement video plse cmplet
how about when first input determine number of additional input?
ex:
1
input1
2
input1
input2
t = int(input())
for _ in range(t):
s = input()
How we can solve hidden tests? Anyone do respond
you can't because it's hidden
@@ShivamTiwari-yl7xv 😒😒
How do you comment the lines?
By putting "#" infront of the lines
select all the lines which u wanna comment ..then press ctrl+/
@@amanjain1975 thanks mate
I have 2 questions:
1. In Python, reading the input is easy but in C and C++ it is tricky so can you make one video on how to take input from C and C++??
2. Now a days most of the companies will take coding round before they actual interview. So in coding round whatever platform they use, does they provide us a code to read input or we have to write it??
Hi Hiren, Thanks for your comment.
1. I am not good at C++, So can't help you with that.
2. In coding rounds, some of them do provide the input already read but for some cases, you need to read the input. Since there are many coding platform that are available, we can't be very much sure, but the good part is the way we read the input for python on any coding console question will always remain same, as I have explained over the video.
Hope this helps. Happy Learning. :)
@@SessionWithSumit Thanks Sumit..
bro buy genuine version of windows