Syntax of if Statement
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 2
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 33.33
Syntax of if Statement
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 33.33Seksjon 1. Kapittel 2
single