Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
cause input is a string so '2' * 2 becomes '22' +10 =32 use type conversion for input a = int(input())*2
3rd Jun 2018, 4:46 PM
‎ ‏‏‎Anonymous Guy
+ 1
as i said use a= int (input()) * 2
4th Jun 2018, 7:29 AM
‎ ‏‏‎Anonymous Guy