Advertisement
balispecial

4

Feb 22nd, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. words = ['bali', 'ridwan' , 'demola' , 'ayo']
  2. def long_word(string):
  3.       for word in words:
  4.            print (True)
  5.       if len(word) > 4:
  6.                 print(True)
  7.       else:
  8.                 print(False)
  9. long_word(words)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement