Back to tasks
Division by zero
BeginnerPython for kids 路 Lesson 13: Errors - reading the messages
Problem Statement
The program was supposed to print half of 10, but someone mixed up the numbers:
print(10 / 0)
Fix the mistake so the program prints:
5.0
Output Format
Exactly the text from the example.
Examples
Example 1
Output
5.0