Advertisement



< Prev
Next >



Python - Input/Output functions




In this article, we are going to discuss some two basic yet important input and output functions and their variants provided by the Python. The input function is used to takean input from the user at the console, while the output function will generate an output at the console. So, let us see what these important input/output functions are -

Functions Description
print()
This output function, used to generate an output at the console.

input()
1) This input function is used to read a line of input entered by the user at the console and returns it as a string.






Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement

Notifications



Please check our latest addition

PYTHON


Advertisement