0

input(":")

in this piece of code: num=input(":") is the 'input' statement a variable that we created or is it a system command that automatically gets assigned the value of the user's input?

1st Mar 2017, 7:30 AM
ÎŁÏ„Î­Î»Î»Î± Î Î±ÏƒÏ‡ÎŹÎ»Î·
ÎŁÏ„Î­Î»Î»Î± Î Î±ÏƒÏ‡ÎŹÎ»Î· - avatar
2 Answers
+ 2
It is a built-in function. Python2: https://docs.python.org/2/library/functions.html#input Python3: https://docs.python.org/3/library/functions.html#input
1st Mar 2017, 7:38 AM
Twelfty
Twelfty - avatar
+ 1
it is input method which is used to take user input. it is like cin, scanf etc.
1st Mar 2017, 7:36 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar