LearnPy Hub
← Input problems
Medium

Percent Format

Read a decimal fraction like 0.256 and print it as a percentage with 1 decimal, e.g. 25.6%, using the % format.

Input

One number between 0 and 1.

Output

A percentage.

Sample 1

Input
0.256
Output
25.6%

Sample 2

Input
1
Output
100.0%
solution.py
Output appears here
Percent Format · Python practice problem · LearnPy Hub