lundi 15 mars 2021

how can write a Python program that displays the times table of a given number. should display the product of the number n by 1, 2, 3, ...until m

Write a Python program that displays the times table of a given number. The program asks the user to enter two numbers n and m, then your program should display the product of the number n by 1, 2, 3, ...until m. Note that your program should display a suitable error message if n or m entered as zero or a negative number.

Aucun commentaire:

Enregistrer un commentaire