Advertisement
biswasrohit20

rect

Mar 21st, 2021
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. def isRectangle(l):
  2. t = []
  3. for row in l:
  4. t.append(len(row))
  5. for i in t:
  6. if i != t[0]:
  7. return False
  8. return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement