Differentiate between displaying and printing method in python.
Answers
Answered by
33
Answer:
print() function is used to print Objects to the console whereas the input() function is used to take user input. For example: If you want to know the user's name and greet them, you can do the following. The above program will prompt the user with the question “What's your name? ” and will ask for the user's input.
Similar questions