Float equality loop condition

Code reviewMedium20 min

Your task

Review this Python loop that walks from 0 to 1 in steps of 0.1 and stops exactly at 1.0.