LearnPy Hub
← Variables problems
Easy

Double and Half

Read a number x (it may have decimals). Print 2x on the first line and x / 2 on the second.

Input

One number.

Output

Two numbers.

Sample 1

Input
10
Output
20.0
5.0

Sample 2

Input
3
Output
6.0
1.5
solution.py
Output appears here
Double and Half · Python practice problem · LearnPy Hub