0

i am confused what am i doing wrong with this code?

i need help https://code.sololearn.com/cwdLFiNQwE6N/?ref=app

20th Jun 2018, 5:11 AM
Arketa
Arketa - avatar
4 Answers
+ 2
Arketa One of the issues with the code is that it is not passing the message to the main function. It appears that that code is trying to pass the message via (text) text is an int and not a function. There should be a statement at the end of the elsif chain, calling the main function to pass the randomly pick a message along to the code within the function. You should remove(msg = text ('MESSAGE: ')) it will not help solve your problem.
20th Jun 2018, 6:36 AM
ODLNT
ODLNT - avatar
+ 4
Your code Is working....you have to put the number after (message: ) to print the result.
20th Jun 2018, 5:40 AM
☇☇The Flash☇☇
☇☇The Flash☇☇ - avatar
+ 1
thank you so much for your help i managed to get it working
21st Jun 2018, 2:42 AM
Arketa
Arketa - avatar
0
i know its working but not the way i want its supposed to print the random messages in morse and its just printing the random messages
20th Jun 2018, 5:42 AM
Arketa
Arketa - avatar