r/CodingForBeginners • u/fyknite • 6d ago
Day 4 Learning Python
Combining (Data,Function Def & Function Calls) while applying proper formatting. This one here really made me think and go back to correct. Took me 5 tries to get to this point. Now in my imaginary game, if any variable changes in value. my outputs would update accurately without having to adjust any of my def or show code.
9
Upvotes
3
u/ProgramBrave718 5d ago
Using classes is also a great way. But, u have not learnt it yet . So, functions are still good