Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Python/Kmtom.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Value in kilometer
kilometers = float(input("Enter the value in kilometers: "))

# calculate meters
meters = kilometers * 1000
print('%0.2f kilometers = %0.2f meters' %(kilometers,meters))
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Its ~~october~~(hackctober month) ...add your codes and contribute to open sourc
- OverLord
- Kuroko No Basuke
- Bleach
- One Piece



Expand Down Expand Up @@ -122,4 +123,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!