fork download
  1. s ='''
  2. making the regex for project
  3. is the basic work '''
  4. if 'project' in s and 'work' not in s:
  5. print('yes')
  6. else:
  7. print('no')
Success #stdin #stdout 0.01s 6768KB
stdin
Standard input is empty
stdout
no