Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("program of multiplication")
- x = int(input("x = "))
- y = int(input("y = "))
- n=0
- while n<=y:
- print(x,"x",n,"=",x*n)
- n += 1
- print("-----------------")
- for i in (range(0,y+1)):
- print(x,"x",i,"=",x*i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement