Input and Output Statements in Python with Practical Explanation | Python Programming

preview_player
Показать описание
input(): It is a built-in function used to read the input from the console by using the standard input device(keyword).
Syntax: variable-name = input(“promt”)
promt is a string that is displayed on the string at the time of taking input.
Ex: age = input(“Enter your present age”)
Note: By default input() function takes the users input is a string. so, it take the input in the form of int, you need to use int() along with input function.
Ex: age=int(input(“Enter your present age”))

print(): It is a built-in function used to print the output on to standard output device on console.
Syntax:
print(“String”)
print(variable)
print(“String”,variables)

#IOStatements
#PythonProgramming
#Pythoninputstatement
#Pythonoutputstatement

Input and Output Statements in Python with Practical Explanation | Python Programming
python
python programming
python tutorial
learn python
input and output statements in python
python input statement
python output statement
in telugu
sudhakar bogam
sb tech tuts
input
output
portable
Рекомендации по теме
Комментарии
Автор

I/O streams in Java upload cheyandi sir

ravitejadubbakaraviteja
Автор

Sir explain about formatted input output in python

justinbabu
Автор

Sir x value input () string loki theskuntundhi ante anti

k.sahithi
Автор

Sir please can u exaplin jagged arrays in java with 1 example.. I have seen many videos but i didn't get clarity

TripuraSundariSliks