Commit 2241cf5f by BellCodeEditor

save project

parent b375e8bb
Showing with 5 additions and 16 deletions
player = input("what to throw(rock, paper, scissor): ")
print("Player;" + player)
import turtle
import random
list=["rock","paper","scissor"]
computer=random.choice(list)
print("AI: "+computer)
if player in list:
if player == computer:
print("tie")
elif (player=="rock" and computer=="scissor") or (player=="scissor" and computer=="paper") or (player=="paper" and computer=="rock"):
print("congrats, you won")
else:
print("I am sorry, but you lost")
else:
print("you suck at write go study harder")
\ No newline at end of file
p=turtle.pen()
p.write("hello,\n how are you?", font=("Times", 30, "normal"))
turtle.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment