Programmeren in Python/Conditionele statements: verschil tussen versies

Verwijderde inhoud Toegevoegde inhoud
Geen bewerkingssamenvatting
k -/- spaties
 
Regel 134:
 
def hello():
print ("Hello")
 
def bye():
print ("Bye")
 
def hola():
print ("Hola is Spanish for Hello")
 
def adios():
print ("Adios is Spanish for Bye")
 
# Notice that our switch statement is a regular variable, only that we added the function's name inside
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.