Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

FINANCIAL ADVISOR

tsana
tsana

I am a young and not so good at coding,so if you have any comments about the code pls right them

2 years ago

Voters

Comments

TopNew
1
Zekka
Zekka

Hey! Some minor notes:

  • Consider removing the line that goes if 1 == 1:
  • Consider that the else statement on line 15 can never be reached. It can be removed! (Line 12 can be written "else" -- if the condition on line 10 is False, the condition on line 12 is always true, so there is no difference.)
  • Consider that line 16 and line 12 have the same condition, so line 17 could be added to the same block as line 13.

Otherwise, this is really fine!

(One other note: Some people will not want the program to restart. In that case, you could also remove the line that says while True:)

2 years ago
1
tsana
tsana

@Zekka
THANK U

2 years ago
Load more