+ 1
If i wanna print 3a.
x='a' print (3*x) gives me aaa because a is string if x is 3 then we get 9 ans but I wanna get 3a as ans can I write 3 +x
1 Odpowiedź
+ 7
print('3' + x)
x='a' print (3*x) gives me aaa because a is string if x is 3 then we get 9 ans but I wanna get 3a as ans can I write 3 +x