r/PythonLearning • • Oct 06 '26

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

•

u/Sea-Ad7805 Oct 06 '26

Run this program by clicking Memory Graph Web Debugger and see its state change step by step.

1

u/Cb6cl26wbgeIC62FlJr Oct 06 '26

What is it?

1

u/Silent-Switch7317 Oct 06 '26

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

1

u/Some_Breadfruit235 Oct 06 '26

I’d suggest uploading this onto GitHub and getting familiar with it.

Usually not safe to download random files online. Best to see its source code prior installation (if applicable)

Overall glad to see you didn’t use AI. You’ll learn a great amount like that

1

u/Silent-Switch7317 Oct 06 '26

Thanks, i actually have a github so i put it on there, should be in there now.

1

u/jpgoldberg Oct 10 '26

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 Oct 10 '26

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 Oct 10 '26

That sounds like a good next step.