Ds160123- table of any number

Codingof table of any number by taking input from the user:-

number=int(input(‘enter the number’))
for i in range(1,11):
print(number,'‘,i,’=',numberi)

output:-
enter the number10
10 * 1 = 10
10 * 2 = 20
10 * 3 = 30
10 * 4 = 40
10 * 5 = 50
10 * 6 = 60
10 * 7 = 70
10 * 8 = 80
10 * 9 = 90
10 * 10 = 100

3 Likes

@Satyendrakeer23

Correct, keep it up.

1 Like

Good. Keep practicing such codes

1 Like