Example exercise
Sign in to test your solution.
# lees tekst in
input_tekst = input()
# controleer welke tekst ingevoerd werd
if input_tekst == "test":
print("de input was 'test'")
elif input_tekst == "nog een test":
print("de input was 'nog een test'")
else:
print("de input was niet 'test', en ook niet 'nog een test'")
# nog wat voorbeeldcode om enkele basis-dingen in Python te tonen
text = "17"
# text = input()
klein_getal = int(text)
groot_getal = klein_getal * klein_getal
# print("We hebben van het kleine getal {} een groot getal {} gemaakt".format(getal, groot_getal))
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.
Python sandbox
This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.