Back to tasks
Dot zero
BeginnerPython for kids 路 Lesson 4: Whole numbers, numbers with a dot and text
Problem Statement
Print the result of 3 + 1.0. Guess before you run it: 4 or 4.0?
4.0
Output Format
Exactly the text from the example.
Examples
Example 1
Output
4.0