Skip to content

Commit e68d97e

Browse files
authored
Update morse_code.py
1 parent 8f77807 commit e68d97e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

morse_code.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# Coding Challenge 2
2-
# Name:
3-
# Student No:
4-
1+
# Name: Prashant Bhandari
52
#A morse code encoder/decoder
63

74
# A Morse code in tuple
@@ -48,8 +45,8 @@ def get_continue():
4845
get_input()
4946
get_continue()
5047
break
51-
if another=='y' or another!='y' and another!='n':
52-
#if user type y get continue funtion runs. or if user type others letter(not y and n) again get continue funtion runs.
48+
if another=='y' or another!='n':
49+
#if user type y and type others letter(not n) again get continue function runs.
5350
get_continue()
5451
if another=='n':
5552
#program ends when user type n

0 commit comments

Comments
 (0)