MIL-003 Documentation and publication: README, screenshots and wiki in en, da and ms
Task: MIL-003#1 Task: MIL-003#2 Task: MIL-003#3 Task: MIL-003#4 Task: MIL-003#5 Task: MIL-003#6
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Usage
|
||||
|
||||
🌐 **English** · [Dansk](Usage-da) · [Bahasa Melayu](Usage-ms)
|
||||
|
||||
Activate the virtual environment (see [Install](Install)), then start the program:
|
||||
|
||||
```bash
|
||||
python -m nato_phonetic_alphabet
|
||||
```
|
||||
|
||||
The installed command does the same:
|
||||
|
||||
```bash
|
||||
nato-phonetic-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.
|
||||
|
||||

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

|
||||
|
||||
## 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.
|
||||
Reference in New Issue
Block a user