r/PythonLearning • • 27d ago

Help Request Can someone help me identify what I'm doing wrong?

Post image

it DOES print False!!! WHAT DOES THIS WEBSITE WANT OF ME????

21 Upvotes

33 comments sorted by

View all comments

4

u/Im_a_dum_bum 27d ago

they might be strictly looking for if not distance_mi:

3

u/Mercy--Main 27d ago

I've also tried print(False) with both to no avail...

also, that's a way better way of checking that... i complicated myself lmao

2

u/Im_a_dum_bum 27d ago

what website is this?

2

u/Mercy--Main 27d ago

https://www.freecodecamp.org - Seemed like a reputable website when I was looking for sites to learn.

2

u/NerdEnPose 27d ago

Try printing the Flase object not the string. `print(False)`

I’m just guessing.