Skip to content

Commit 3de6f37

Browse files
committed
Added simple kilometers to miles python script
1 parent 9ed1c4b commit 3de6f37

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kilo_to_miles.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
user= float(input("enter kilometers here.. "))
2+
miles= user*0.621371
3+
print(f"{user} kilometers equals to {miles:.2f}")
4+
5+
0.621371

0 commit comments

Comments
 (0)