mercredi 15 janvier 2020

Using break in if statement with Python

Is it possible to use a break in a else/if statement?

if yes, can you tell me where is the problem here?

music = int(input("music"))

if musique > 30:
  print ("ok")
else:
  print("no")
  break

print ("Hello")

Aucun commentaire:

Enregistrer un commentaire