Python print() function
To Display the content onto the screen we make use of print() function.
Program
>>> print("Hello world")
Hello world
Python input() function
To take the input from the user we make use of Python input() function. At this situation the program will not go ahead until we provide certain input.
Program
>>> input()
Program
>>> input("Enter a value: ")
Enter a value:
Post a Comment
If you have any query, feel free to ask.