0

print( input()*input() ) Error

15th Jun 2021, 1:46 PM
zoro
2 odpowiedzi
- 1
Your this code will give you error becz you multiplying two string which is not valid u can multiply one string with number like "hello"*3 here gello will print 3 times but it won't work with two or more strings try like this print( int(input())*int(input() )) In this case u will get output
15th Jun 2021, 1:54 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Thank you A.S.
15th Jun 2021, 1:58 PM
zoro