LearnPy Hub
← Data Types & Casting problems
Hard

Percentage

Read marks obtained and total marks, and print the percentage with 1 decimal followed by %, e.g. 83.3%.

Input

Two numbers.

Output

The percentage.

Sample 1

Input
25
30
Output
83.3%

Sample 2

Input
50
50
Output
100.0%
solution.py
Output appears here
Percentage · Python practice problem · LearnPy Hub