Fs20co047 Py Exp 10
Fs20co047 Py Exp 10
FS20CO047
Experiment 10
input ( prompt)
raw_input ( prompt )
This function first takes the input from the user and then
evaluates the expression, which means Python automatically
identifies whether user entered a string or a number or list. If
the input provided is not correct then either syntax error or
exception is raised by Python.
Practical:
a. Program to Print your biodata, including your name,
Enrollment Number, ResidentialAddress, Email ID, Contact
Number, etc to console. Take input using input() methodand
save data in appropriate variables and then print to console.
Program:-
Observation:
a.
Output:-
5
Conclusion:
Thus, we have seen how to take input from the user. We
have performed program related to this