diff --git a/Python/Kmtom.py b/Python/Kmtom.py new file mode 100644 index 0000000..5d8f250 --- /dev/null +++ b/Python/Kmtom.py @@ -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)) \ No newline at end of file diff --git a/README.md b/README.md index d724684..d8ad9e2 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Its ~~october~~(hackctober month) ...add your codes and contribute to open sourc - OverLord - Kuroko No Basuke - Bleach +- One Piece @@ -122,4 +123,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d -This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! \ No newline at end of file +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!