FOR BEGINNERS | How to calculate Kilometers to Miles using Python

preview_player
Показать описание
In this video, I demonstrate how to calculate kilometers to miles.
I use Python to create this code with VS CODE.

The code used in the video is outlined below:
***
#taking kilometers input from user
kilometers = float(input("Please add number: "))

#conversion factor
conv_fac = 0.621371

#calculate miles
miles = kilometers * conv_fac
print('%0.2f is exaclty %0.2f miles' %(kilometers,miles))
***

I hope you enjoy the video and get training!!

Please give this video a massive thumbs up and subscribe to my channel for more fun content!

Peace out :D
Рекомендации по теме
Комментарии
Автор

hi, i saw a video of yours reseting to factory new a macbook. I have one and althought i saw the video i couldnt reset it, can i contact you by private and you would help me?

lucaciccale