Sort 77 Discussions, By:
Please Login in order to post a comment
Why does the Problem page suggest you to "P.S. Do try Solve Me First and Solve Me Second in Python before moving ahead."? We just learned how to use the print() function, how is anyone who's learning this going to understand how to define a function, assign values to variables, perform arithmetic, etc?
That's a good question.
twinkle twinkle little star
how i wonder what you are
up above the world sooo sky like the diamond in the sky
correction:"so high" is missing.
kannaam poochi rey rey...kandu pudi yaarey
print ("hello, world")
how to solve this
Can i have such question on the interviews ! Please!
i cant understand that how to use this site....
I can do it
Hahaha...Nice to meet you! :p
why using expressions like (stdin,stdout)in python
no need...python code is easy and symple ...you can run
my_string = "Hello, World!"
i can not do it because i am not able to work on hackerrank it means how to use hckerrank. please any one give replay.
are you new to programming??
What is up with the
if --name-- == 'main' ??
You can refer to the discussion on: https://stackoverflow.com/questions/419163/what-does-if-name-main-do to get some idea.
Basically, name is a built-in variable which evaluates to the name of the current module. However, if a module is being run directly (as in myscript.py above), then name instead is set to the string "main". Thus, you can test whether your script is being run directly or being imported by something else by testing
if name == "main":