Format text,
This commit is contained in:
parent
545c547723
commit
c6e71553ab
@ -68,8 +68,11 @@ when isMainModule:
|
|||||||
|
|
||||||
|
|
||||||
proc mainScreen() =
|
proc mainScreen() =
|
||||||
echo("""
|
echo(fmt"""
|
||||||
|
------------
|
||||||
|
| Stockers |
|
||||||
|
| v0.1.0 |
|
||||||
|
------------
|
||||||
|
|
||||||
1) Leroy
|
1) Leroy
|
||||||
2) Perez
|
2) Perez
|
||||||
@ -88,7 +91,23 @@ when isMainModule:
|
|||||||
|
|
||||||
if employee == "1":
|
if employee == "1":
|
||||||
options("Leroy")
|
options("Leroy")
|
||||||
|
elif employee == "2":
|
||||||
|
options("Perez")
|
||||||
|
elif employee == "3":
|
||||||
|
options("Eric")
|
||||||
|
elif employee == "4":
|
||||||
|
options("Emiliano")
|
||||||
|
elif employee == "5":
|
||||||
|
options("Jamal")
|
||||||
|
elif employee == "6":
|
||||||
|
options("Joseph")
|
||||||
|
elif employee == "7":
|
||||||
|
options("Justin")
|
||||||
|
elif employee == "8":
|
||||||
|
options("Lee")
|
||||||
elif employee == "q":
|
elif employee == "q":
|
||||||
quit(0)
|
quit(0)
|
||||||
|
else:
|
||||||
|
echo(fmt"{employee} is not listed above")
|
||||||
|
|
||||||
mainScreen()
|
mainScreen()
|
Loading…
x
Reference in New Issue
Block a user