Skip to content

Instantly share code, notes, and snippets.

🛌
Sleeping is a default case to my switch statement.

Sarques saarques

🛌
Sleeping is a default case to my switch statement.
Block or report user

Report or block saarques

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@saarques
saarques / sq(s)_in_rect.py
Created Jul 16, 2018
Solution of a weekly problem.
View sq(s)_in_rect.py
n=int(input())
m=int(input())
if m>n:
n,m=m,n
i=1
while m!=0:
print("Number of Square(s) of type ",i,"x",i," : ",n*m)
n,m,i=n-1,m-1,i+1
You can’t perform that action at this time.