Skip to content

Week-4#3

Open
theakers wants to merge 1 commit intofenyx-it-academy:mainfrom
theakers:main
Open

Week-4#3
theakers wants to merge 1 commit intofenyx-it-academy:mainfrom
theakers:main

Conversation

@theakers
Copy link

@theakers theakers commented Oct 6, 2021

No description provided.

return percentage # I wanted to return percentage


print("Percentage of throws of value","4","=",percent(4),"%") #I wrote it to the screen
Copy link

Choose a reason for hiding this comment

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

clear. ayrica yorum satirlari eklemis olmaniz cok iyi.


return gcdreal #then i want to return gcdreal for the gcd numbers in numbers list

print("gcd is: ",gcd()) No newline at end of file
Copy link

Choose a reason for hiding this comment

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

clear. sart degil ama while dongusu icinde kullandiginiz try/except blogu, bir ust satirdaki input kismina da eklenebilir. ilk input alirken de hatali giris olursa kod patlamadan devam edilmis olur.

else:
print("Valid Password")#If all of the possibilities are true, it will write valid password to the screen.
x=False
break No newline at end of file
Copy link

Choose a reason for hiding this comment

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

clear. ancak: sadece en sondaki break ifadesi kalsa yeterli bence. ValueError kisminda zaten dongu kiriliyor. diger break ler silinebilir. Ayrica While True: diyerek baslanabilir. yani x degiskenine atamaya gerek yok bence.

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