---
title: "Comment by Adoo Darko Jonathan on \"100 days of Python Exercises\" | Hashnode"
description: "So, for the second part, what if 20 wasn&#39;t the first item in the list? What happens?"
url: "https://hashnode.com/posts/100-days-of-python-exercises-1/64ce17acc9ebb5f892b2e646/comment/64ce258b3d3aabc9723f8d6b"
---

[Discussion](https://hashnode.com/posts/100-days-of-python-exercises-1/64ce17acc9ebb5f892b2e646)

Comment [100 days of Python Exercises](https://hashnode.com/posts/100-days-of-python-exercises-1/64ce17acc9ebb5f892b2e646)

[Adoo Darko Jonathan](https://hashnode.com/@adoodevv)

[Aug 5, 2023](https://hashnode.com/posts/100-days-of-python-exercises-1/64ce17acc9ebb5f892b2e646/comment/64ce258b3d3aabc9723f8d6b)

So, for the second part, what if 20 wasn't the first item in the list? What happens?

[Bright Andoh](https://hashnode.com/@Brighht)

[Aug 5, 2023](https://hashnode.com/posts/100-days-of-python-exercises-1/64ce17acc9ebb5f892b2e646/comment/64ce258b3d3aabc9723f8d6b#reply-64ce2687058075dab96ec3e4)

The loop gets broken immediately because the first condition is not met and if the first condition doesn’t work whole code wouldn’t function. Hope this helped .

[Adoo Darko Jonathan](https://hashnode.com/@adoodevv)

[Aug 5, 2023](https://hashnode.com/posts/100-days-of-python-exercises-1/64ce17acc9ebb5f892b2e646/comment/64ce258b3d3aabc9723f8d6b#reply-64ce2cff058075dab96ec4b7)

Oh yeah[Bright Andoh](https://hashnode.com/@Brighht)
