Advertisement
smmac72

10

Mar 30th, 2023
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. spells = input().split()
  2. length = int(input())
  3.  
  4. for i in spells:
  5.     if len(i) <= length:
  6.         print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement