Advertisement
azwri

Spaces

Feb 21st, 2020
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. (lambda txt : f"Spaces: {txt.count(' ') }." if txt.count(' ') > 0 else ('No spaces'))(input('Enter a text:\n... '))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement