Advertisement
balispecial

number 1

Feb 22nd, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. empty = []
  2. active =[7>3, 5==(3+2)]
  3. favourite_number = [8, 9, 10, 11, 12]
  4. colors = ['red', 'green', 'blue']
  5.  
  6. single_list = ['a', 'b', 'c', 'd', 'e']
  7. def is_long(argument):
  8.     if len(argument) ==5:
  9.         print(True)
  10.     else:
  11.         print(False)
  12. is_long(single_list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement