r/PythonLearning • • Sep 17 '26

Help Request any clue how to do this?

Post image

im on my first year of learning python in school is this even possible??

25 Upvotes

34 comments sorted by

View all comments

Show parent comment

2

u/Joker-Joester Sep 17 '26

But the problem explicitly mentions "without using if/else statement".

0

u/csabinho Sep 17 '26

Yeah, my fault. I'd use conditional statements without the use of if/else instead.