0

Times table

I mean what’s wrong this code. x = int(input()) print(x) y = x for i in range(1,12): print(x + y) Ex. It’s supposed to print ex.2*2 12 times

11th Aug 2022, 3:13 AM
Uchennaya Obo Ibom
Uchennaya Obo Ibom - avatar
4 RĂ©ponses
+ 3
Favour Ibom I believe you want something more along the lines of this code. I don't believe you actually want to print 4 eleven times .. https://code.sololearn.com/c21P9bqdMRUy/?ref=app
11th Aug 2022, 3:26 AM
BroFar
BroFar - avatar
+ 2
Favour Ibom we all began somewhere
11th Aug 2022, 4:01 AM
BroFar
BroFar - avatar
+ 1
BroFar I only learned beginners python.
11th Aug 2022, 3:48 AM
Uchennaya Obo Ibom
Uchennaya Obo Ibom - avatar