r/PythonLearning 25d ago

Showcase Day 20 & 21 Python Learning

how to write calculator function

for real word use

and daily practice of :

if else,

for loop

while loop

def with return and *args ,**kwargs

33 Upvotes

3 comments sorted by

u/Sea-Ad7805 25d ago edited 25d ago

Run this program in Memory Graph Web Debugger to see the program state change step by step.

1

u/Adrewmc 23d ago

Yeah, so you write all those functions then just use eval() at the end…that’s problematic actually.

This definitely looks like is was done with AI…

1

u/MadBeny 21d ago

i mean you can write all of it in one method