Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help on else condition
#1
hi
when I try to add an else condition, i have the message "(variable) else: Any"
what is the problem please?

if reponse == 'Oui' or reponse == 'oui':
     print("Super,le tirage va commencer" '!')
tirage()
else:
  quitter = input("Souhaitez-vous quitter le jeux du loto (o/n) ? ")
Reply


Messages In This Thread
help on else condition - by jip31 - May-18-2021, 05:38 AM
RE: help on else condition - by deanhystad - May-18-2021, 06:07 AM
RE: help on else condition - by Yoriz - May-18-2021, 06:09 AM
RE: help on else condition - by jip31 - May-18-2021, 06:23 AM
RE: help on else condition - by perfringo - May-18-2021, 06:31 AM
RE: help on else condition - by jip31 - May-18-2021, 06:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  else condition not called when if condition is false Sandz1286 10 6,036 Jun-05-2020, 05:01 PM
Last Post: ebolisa
  [HELP] Nested conditional? double condition followed by another condition. penahuse 25 8,298 Jun-01-2020, 06:00 PM
Last Post: penahuse

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020