Thank you. The thing is that I try to follow various tutorials and not all of them specify version of Python, I will do better.
As I understand using just IF would give me 3 outputs for the value 25, because it's less than 45, 70 and 100. I thought this can be avoided by using elif and you will get just one output for the value 25, which is the desired "we can still go running, let's grab something and go".
This is what I was trying to copy:
![[Image: fRVHuk]](https://ibb.co/fRVHuk)
Did I understand everything wrong?
The code now works as I wanted it to. No idea how it happened.
As I understand using just IF would give me 3 outputs for the value 25, because it's less than 45, 70 and 100. I thought this can be avoided by using elif and you will get just one output for the value 25, which is the desired "we can still go running, let's grab something and go".
This is what I was trying to copy:
Did I understand everything wrong?
The code now works as I wanted it to. No idea how it happened.
lazy = int(input("How lazy are you? (write number 1-100) ")) if lazy < 20: print("Go RUN RUN RUN") elif lazy < 45: print("we can still go running, let's grab something and go") elif lazy < 70: print("okay, let's just go for a walk") elif lazy <= 100: print("Hm, let's just grab some nice coffee") else: print("hey, that's too much lazy, you were supposed to be max lazy 100, you lazy girl!")