Files
026-nato-alphabet/wiki/Usage.md
Tirsvad d932c7fa4f
CI / Test on Python 3.13 (push) Successful in 55s
Add README, screenshots and wiki in English, Danish and Bahasa Malaysia
Task: MIL-003#1
Task: MIL-003#2
Refs #14
Refs #15
Refs #16
Refs #17
Refs #18
2026-10-13 16:45:01 +08:00

820 B

Usage

🌐 English · Dansk · Bahasa Melayu

Activate the virtual environment (see Install), then start the program:

python -m nato_alphabet

The installed command does the same:

nato-alphabet

Spell a word

The program asks for a word and prints the NATO code word of each letter, in order. Upper and lower case give the same result.

The tool spelling the word Hello

Invalid input

A digit, a space or a punctuation mark is not a letter. The program says so and asks again.

A word with a digit is rejected, then a valid word is spelled

Press Ctrl+C or Ctrl+D

Ending the input (Ctrl+D on Linux and macOS, Ctrl+Z then Enter on Windows) or pressing Ctrl+C closes the program quietly.