Open
Conversation
semihPy
reviewed
Oct 9, 2021
| return percentage # I wanted to return percentage | ||
|
|
||
|
|
||
| print("Percentage of throws of value","4","=",percent(4),"%") #I wrote it to the screen |
There was a problem hiding this comment.
clear. ayrica yorum satirlari eklemis olmaniz cok iyi.
semihPy
reviewed
Oct 9, 2021
|
|
||
| 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 |
There was a problem hiding this comment.
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.
semihPy
reviewed
Oct 9, 2021
| 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 |
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.