geekcomputers / Python

My Python Examples
http://www.thegeekblog.co.uk
MIT License
31.16k stars 12.19k forks source link

Python Program to Convert Kilometers to Miles #1179

Open ayushmane649 opened 4 years ago

ayushmane649 commented 4 years ago

Taking kilometers input from the user

kilometers = float(input("Enter value in kilometers: "))

conversion factor

conv_fac = 0.621371

calculate miles

miles = kilometers * conv_fac print('%0.2f kilometers is equal to %0.2f miles' %(kilometers,miles))

samarthraj11 commented 4 years ago

hey, i can do this one . can you please assign to me ?

amitShindeGit commented 3 years ago

I've made a PR regarding this issue.Happy to help.

nehal6657 commented 3 years ago

is it still open for contribution

utkarsh2787 commented 3 years ago

i want it bro....

ajaykathwate commented 3 years ago

Hey i can do this in min no of lines I would like to contribute assign this issue to me. I will fix it within 24 hours