Kursusindhold
TEST FREE COURSE
Syntax of if Statement
Opgave
Swipe to start coding
Let's play the game. Guess the number between 1 and 10.
- You have to implement
if
statement which will check that the number is equal to the number that I thought of; - If this condition is
True
you have to display the next text:Right, You guessed my number! I have in my mind number ...
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 2
Syntax of if Statement
Opgave
Swipe to start coding
Let's play the game. Guess the number between 1 and 10.
- You have to implement
if
statement which will check that the number is equal to the number that I thought of; - If this condition is
True
you have to display the next text:Right, You guessed my number! I have in my mind number ...
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 2