r/PythonLearning • u/gyrojoestar31 • Sep 17 '26
Help Request any clue how to do this?
im on my first year of learning python in school is this even possible??
25
Upvotes
r/PythonLearning • u/gyrojoestar31 • Sep 17 '26
im on my first year of learning python in school is this even possible??
View all comments
0
u/Rscc10 Sep 17 '26
Like other mentioned, you could use match-case. A little unconventional but you could also you eval function if you wanted to