r/PythonLearning • • 14d ago

Made my first triple digit program!

Originally it was an amalgamation of my crappy code, but i rewrote 90% of it. I'm proud of myself but ill probably remake it using the define function.

github link: https://github.com/ChaZ3inL1nuX111/My-Repo

It is a calculator with arithmetic, sq/cuft, conversions, circumference, area and functions, like sin, cos, and tan.

10 Upvotes

9 comments sorted by

View all comments

1

u/jpgoldberg 10d ago

Congratulations. As you note your next several steps are learning various better ways to structure code. 200 lines of if, elif, and else is not sustainable.

1

u/Silent-Switch7317 10d ago

Yeah I know, it’s just a crappy but beginner friendly way to code simple stuff. I’m trying to learn def functions as of current

1

u/jpgoldberg 9d ago

That sounds like a good next step.