From c4850d2833ab5b5f28570f2a640d198604ef3f13 Mon Sep 17 00:00:00 2001 From: cheeks <134818917+leftovertoast@users.noreply.github.com> Date: Sun, 26 Jan 2025 15:23:01 -0500 Subject: [PATCH] Completed 6-3 Glossary --- Chapter_06/6-03_glossary.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Chapter_06/6-03_glossary.py diff --git a/Chapter_06/6-03_glossary.py b/Chapter_06/6-03_glossary.py new file mode 100644 index 0000000..5a65d88 --- /dev/null +++ b/Chapter_06/6-03_glossary.py @@ -0,0 +1,17 @@ +words = { +'loop': 'A repetetive process of actions.', +'operator': 'A symbol of an action to take place.', +'if statement': 'A conditional process.', +'variable': 'An object that can change its value.', +'constant': 'An object whose value does not change.', +} +print(f"Loop:\n{words['loop']}\n--------------------------------------------") + +print(f"\nOperator:\n{words['operator']}\n--------------------------------------------") + +print(f"\nif Statement:\n{words['if statement']}\n--------------------------------------------") + +print(f"\nVariable:\n{words['variable']}\n--------------------------------------------") + +print(f"\nConstant:\n{words['constant']}\n--------------------------------------------") +