Skip to content

Week_1a#1

Open
Osmandursunn wants to merge 2 commits intofenyx-it-academy:mainfrom
Osmandursunn:main
Open

Week_1a#1
Osmandursunn wants to merge 2 commits intofenyx-it-academy:mainfrom
Osmandursunn:main

Conversation

@Osmandursunn
Copy link

No description provided.

Copy link

@abuz33 abuz33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Genel olarak guzel bir calisma tebrikler.

cpu_score+=1
elif cpu_choice== "paper":
print("You win")
user_score+=1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

9 tane if else condition dongusu yerine ilk basta eger ayni ise tie degilse diger 6 conditiona cevirip condition dongusunu 6ya indirebilirsiniz.

Comment on lines +70 to +72
repeat= input("Play Again? (Y/N)").lower() #kullanicinin donguyu basa almak isteyip istemedigini soruyoruz
while repeat != "n" and repeat != "y":
repeat=input("Invalid input, please try again:").lower()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repeating code?

Comment on lines +74 to +76
repeat= input("Play Again? (Y/N)").lower
while repeat != "n" and repeat != "y":
repeat=input("Invalid input, please try again:").lower() #gecersiz bir komut varsa kullanicinin duzeltmesini istiyoruz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants