Skip to content

Instantly share code, notes, and snippets.

@EZonTheEyes
Last active September 19, 2023 00:08
Show Gist options
  • Save EZonTheEyes/90d772daa17e61249ba17a29b841cbe1 to your computer and use it in GitHub Desktop.
Save EZonTheEyes/90d772daa17e61249ba17a29b841cbe1 to your computer and use it in GitHub Desktop.
ez_catface - A simple python script to print Cat Emoticons
import random
print("Here kitty kitty...")
catface = ["dummy", "/ᐠ‸⑅‸ ᐟ\ノ", " ¯\_₍⸍⸌̣ʷ̣̫⸍̣⸌₎_/¯", " =^ㅎ ⋏ ㅎ^=", "[^._.^]ノ", " (=◕ᆽ◕ฺ=)", " (=◉ᆽ◉=)", "(ミචᆽචミ)", " (=´∇`=)", " (=‐ω‐=)", "/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗", "^•ﻌ•^", "^ >ヮ<^₎", "=^._.^=", "(。^•ㅅ•^。)", "( • ̀ω•́ )✧", "(=◉ᆽ◉=)", "˄·͈༝·͈˄", ">(Ф^三^Ф)<", "=✪ ᆺ ✪=", "^ȏ⋏ȏ^", " 《=^ェ^=》", " (^.ᆽ.^)= ∫", " ฅ(ミ⎚ᆽ⎚ミ)∫", " (ミ☉ᆽ☉ミ)", "/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗", "/ᐠ ._. ᐟ\ノ", "/ᐠ=ᆽ≠ ᐟ \∫", "ฅ/ᐠ ‧̫‧ ᐟ\ฅ", "/ᐠ。▿。ᐟ\ᵖᵘʳʳ", "(≗ᆽ≗)ノ"]
catinput = str(input("Free Cat ('(1-30)'): Random Cat ('rtd'): All Cats: ('all'): "))
if catinput ==('all'):
print(*catface)
elif catinput ==('rtd'):
random_num = random.choice(catface)
print(str(random_num))
elif catinput.isdigit():
catselector = int(catinput)
if catselector > 30 or catselector < 0:
print('Please enter a valid option.')
exit()
print(catface[catselector])
else:
print('Please enter a valid option.')
exit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment