Multiplication tables using if else statements | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Multiplication tables using if else statements

please answer

30th Jun 2018, 10:04 AM
chinmaya mahadev
chinmaya mahadev - avatar
3 Answers
+ 7
Use nested for loops for printing Multiplication Tables. https://code.sololearn.com/cic8B86KAnyV/?ref=app
30th Jun 2018, 10:17 AM
Akash Pal
Akash Pal - avatar
+ 2
[[print('{} x {} = {}'.format(i,j,i*j)) for i in range(1,11)] for j in range(1,11)]
30th Jun 2018, 10:19 AM
Louis
Louis - avatar
0
don't know
30th Jun 2018, 10:04 AM
chinmaya mahadev
chinmaya mahadev - avatar