From 75a42ec54dbf721caa659ddf02c1f46fc2cb4bef Mon Sep 17 00:00:00 2001 From: mlot Date: Fri, 6 Jun 2025 13:40:57 -0400 Subject: initial commit for archiving --- misc/flow_control.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 misc/flow_control.py (limited to 'misc/flow_control.py') diff --git a/misc/flow_control.py b/misc/flow_control.py new file mode 100644 index 0000000..df3e63e --- /dev/null +++ b/misc/flow_control.py @@ -0,0 +1,11 @@ +# flow control + +# Practice question 9 + +spam = 2 +if spam == 1: + print('Hello') +elif spam == 2: + print('Howdy') +else: + print('Greetings!') -- cgit