I am studiing the Python Fundamentals and i have some trouble understanding this folowing example:
c = 1
while c < 5:
c = c + 1
if c >= 4:
print("string")
print(c)
else:
continue
And the output is:
string
4
string
5
Could someone explain to me please, why i have this output?
Aucun commentaire:
Enregistrer un commentaire