Skip to content

Instantly share code, notes, and snippets.

@charity1475
Created June 26, 2020 22:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charity1475/f5ff769e92cf2afaf65baa9e5a56411f to your computer and use it in GitHub Desktop.
Save charity1475/f5ff769e92cf2afaf65baa9e5a56411f to your computer and use it in GitHub Desktop.
import re
pattern = re.compile(r'.*$py')
message = input("coding in ?")
answer = re.search(pattern, message)
if answer is None:
print("You have got a non Pythonic mind")
else:
print("You have the Python signature")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment