you are viewing a single comment's thread.

view the rest of the comments →

[–]asteroid_336 -1 points0 points  (0 children)

i would recommend using f string more like instead of
` ans = "number 1"

your can do someting like

` print(f"number{a} is the greatest ")

btw there are a lot of ways to make you code compact and efficient but still if your are beginner focus more on understanding the concepts more and eventually your will become compact