-
Python 3.5 or later is required (Programmers and Linux users please help your fellow blog readers).
-
To check If python is installed or not on your system, please follow below steps
- open terminal /command prompt,
- type
python3 --version
orpython --version
and press enter. - The terminal window will display text in the format of
_Python 3.6.7_
, signifying that python is installed. - Skip the next step(4) and proceed to Step(5).
I hereby claim:
- I am py563 on github.
- I am prajwalyashasvi (https://keybase.io/prajwalyashasvi) on keybase.
- I have a public key ASB__k4yMQnFxiRoZQN5rklpUxx0yJk8wqC1hkJLBUSiCQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MorseCodeTranslator: | |
# Code copied from https://pythonise.com/categories/python/python-morse-code-translator | |
# Author Julian Nash --> https://github.com/Julian-Nash/python-morse-code-translator | |
# International morse code (sample) | |
morse = { | |
# Letters | |
"a": ".-", | |
"b": "-...", | |
"c": "-.-.", |
dht program is below file