Int and input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Int and input

for serving the sentence int ext = int (input ( "example"))

23rd Jul 2016, 10:44 PM
JonasRB
JonasRB - avatar
3 Answers
+ 1
'ext' is the variable name. you are getting input from the user by using input() function finally you are doing type conversion using Int() function. you are just converting the user input to integer through int() function finally the value user input gets stored in variable 'ext'
25th Jul 2016, 7:23 PM
sundar
sundar - avatar
0
Please, be more specific. Explain what your trying to do.
24th Jul 2016, 7:03 PM
Francisco Gómez García
Francisco Gómez García - avatar
0
thanks
29th Jul 2016, 10:19 AM
JonasRB
JonasRB - avatar