Advertisement
facedwarrior193

table gen

Feb 26th, 2022
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. n = int(input("Enter the number u want the table of: "))
  2. def funct(n):
  3.     c = -1
  4.     for i in range(0,n*11,n):
  5.         c = c+1
  6.         print(f"{n}*{c}={i}")
  7. funct(n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement