Skip to content

Instantly share code, notes, and snippets.

View sooheon's full-sized avatar

Sooheon Kim sooheon

View GitHub Profile
import random
if __name__=="__main__":
print("Welcome to Cows and Bulls")
hidden = "".join(random.sample("0123456789",4))
guess = 0
count = 0
while guess != hidden and guess != "quit":