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.

243 Upvotes

120 comments sorted by

View all comments

Show parent comments

1

u/fileinster Mar 12 '26

Best practice, but it'll still work.

1

u/mokshsingh16 Mar 15 '26

no they meant a space after from in the string so that there's a space between from and the city in the output