1 year ago
5 lines287 B
Exercises: lesson 5
- Make the example ask for its input instead of using a fixed value.
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- What happens with an empty input? Change the code so it handles that case with a clear message.