Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def isRectangle(l):
- t = []
- for row in l:
- t.append(len(row))
- for i in t:
- if i != t[0]:
- return False
- return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement