Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Entrez un nombre
- number = int(input("Veuillez entre un nombre : "))
- # Function qui calcul la table de multiplication d'un nombre
- def table(n):
- for i in range(1, 11):
- calcul = "{} x {} = {}"
- result = n * i
- render = calcul.format(i, n, result)
- print(render)
- # Executer la function
- table(number)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement