Completed 6-3 Glossary
This commit is contained in:
parent
73fe80d11a
commit
c4850d2833
17
Chapter_06/6-03_glossary.py
Normal file
17
Chapter_06/6-03_glossary.py
Normal file
@ -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--------------------------------------------")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user