+ 1

int or print

Should not it be print("3"+"4"), instead of int("3"+"4")?

18th Nov 2018, 2:50 AM
arash bakhtmand
arash bakhtmand - avatar
2 ответов
+ 4
Hey arash bakhtmand ! It's a little difficult to understand what your question is, so could you try to clarify what exactly you need help with? https://www.sololearn.com/discuss/333866/?ref=app
18th Nov 2018, 3:03 AM
Faisal
Faisal - avatar
+ 3
Int is used to typecast i.e change the data type to integer whereas, print is used to print the data within the brackeks Eg. print (3.3) #Prints 3.3 print (int (3.3)) #Prints 3 X =int( 3.3) print (X) #Prints 3
18th Nov 2018, 3:15 AM
‎ ‏‏‎Anonymous Guy