SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

MockP2

» Start this Course
(Practice similar questions for free)
Question:

Switch choice: burger: print("you have selected option burger") fries: print("you have selected option fries") drink: print("you have selected option drink") else: print("You must select either burger, fries or drink") endswitch

Author: Sozen



Answer:

How does a switch statement work?


0 / 5  (0 ratings)

1 answer(s) in total

Author

Sozen
Sozen