r/PythonLearning • • Nov 01 '26

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????

20 Upvotes

33 comments sorted by

View all comments

4

u/Im_a_dum_bum Nov 01 '26

they might be strictly looking for if not distance_mi:

3

u/Mercy--Main Nov 01 '26

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 Nov 01 '26

what website is this?

2

u/Mercy--Main Nov 01 '26

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

2

u/NerdEnPose Nov 01 '26

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

I’m just guessing.