Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
Feedback
1 mile = 1.6 km
Given solution is :
mile = int(input())
km = int()
km = 1.6 * mile
Its wrong, requires correction.
Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
1 mile = 1.6 km
Given solution is :
mile = int(input())
km = int()
km = 1.6 * mile
Its wrong, requires correction.
hi,
Multiplicator factor of 1.6 is at the wrong side in your code. If km = 1.6*m, that means km is 1.6 times of mile which is not. What I mean is below and hence requested for correction in th formula.
1 mile =1.6 km
1/1.6 mile = 1 km
1 km = 1/1.6 m
1 km = 0.63 m
Thanks,
Rupali Govil