n=input("Enter A Number for Multiplication Table--> ")for x in range(1,10): print x," X ",n," = ",x*n;
6
Enter A Number for Multiplication Table--> 1 X 6 = 6 2 X 6 = 12 3 X 6 = 18 4 X 6 = 24 5 X 6 = 30 6 X 6 = 36 7 X 6 = 42 8 X 6 = 48 9 X 6 = 54
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!