Challenge: Improving Even or Odd Checker
Oppgave
Swipe to start coding
In one of the previous tasks, we created an "Even or Odd" checking program. The code for that program is given.
Make the code shorter by removing the second conditional statement and using an else block instead.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 37
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
Fantastisk!
Completion rate forbedret til 1.33
Challenge: Improving Even or Odd Checker
Sveip for å vise menyen
Oppgave
Swipe to start coding
In one of the previous tasks, we created an "Even or Odd" checking program. The code for that program is given.
Make the code shorter by removing the second conditional statement and using an else block instead.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 37
single