Skip to content

Commit e3698d5

Browse files
Merge pull request steam-bell-92#1409 from Kirtan-pc/fix-morse-input-duplicate
fix: remove duplicate Morse code input prompt
2 parents 9a6608a + b51d285 commit e3698d5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

utilities/Text-to-Morse/Text-to-Morse.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ def main():
5050

5151
elif choice == '2':
5252
morse_input = input("\n📻 Enter Morse code (separate letters with space, words with ' / '): ")
53-
morse_chars = morse_input.strip().split()
54-
morse_input = input(
55-
"\n📻 Enter Morse code (separate letters with space, words with ' / '): "
56-
)
5753

5854
invalid_chars = [
5955
char for char in morse_input

0 commit comments

Comments
 (0)