zoglmannk / Morse-Code-Ninja

Software used to generate Morse Code Ninja practice sets as found on https://morsecode.ninja/practice/index.html
https://morsecode.ninja
GNU General Public License v3.0
32 stars 14 forks source link

Fix Print Statements #29

Closed plamen closed 2 years ago

plamen commented 2 years ago

Fixed a couple of mistyped printf() statements.

zoglmannk commented 2 years ago

Greeting planmen,

Is something not working as expected? The print(f"blah {variable}") syntax is the way Python does Literal String Interpolation -- https://peps.python.org/pep-0498/ .

If something is not working as expected, I'm happy to investigate and resolve the problem.

plamen commented 2 years ago

Sorry for the noise, my mistake. The script was executed with older python version on my side and it complained about the unrecognized string interpolation operation and I just assumed there was a typo, since I am not familiar with this weird printf syntax. Keep up the good work, your tool and resources are of great value to every ham learning cw!