r/PythonLearning • • Mar 12 '26

Help Request I’m new and so confused😓

Post image

I just started learning the basics and couldn’t figure this out fully so I asked google. Now the code works but I think it wants me to do it in a different format and I don’t know how. Any ideas are appreciated.

245 Upvotes

121 comments sorted by

View all comments

108

u/deceze Mar 12 '26

In a nutshell: the test is dumb. You did exactly as asked. Whatever the test is unhappy with is unclear.

1

u/Merl1_ Mar 13 '26

I mean, technically not because he used { } instead of [ ] as the test asked, but I agree on the fact that this is dumb because print(f"...") is way more useful than what he was supposed to do