Sichanov

comma

Sep 25th, 2021
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. a = 'monday,tuesday,wednesday'
  2. if ',' in a:
  3.     print('There is a comma')
  4. else:
  5.     print('There is no comma')
Advertisement
Add Comment
Please, Sign In to add comment