Guest User

Untitled

a guest
Jul 16th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. n=int(input())
  2. m=int(input())
  3. if m>n:
  4. n,m=m,n
  5. i=1
  6. while m!=0:
  7. print("Number of Square(s) of type ",i,"x",i," : ",n*m)
  8. n,m,i=n-1,m-1,i+1
Add Comment
Please, Sign In to add comment