From 064715f54cb394b7a3b9f8433165d6f7b95ce4c9 Mon Sep 17 00:00:00 2001 From: Liron-Mizrahi <91504420+lironmiz@users.noreply.github.com> Date: Mon, 2 Jan 2023 09:46:24 +0200 Subject: [PATCH] Create unit3_ex3.1.1.py --- unit3_ex3.1.1.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 unit3_ex3.1.1.py diff --git a/unit3_ex3.1.1.py b/unit3_ex3.1.1.py new file mode 100644 index 0000000..ae78bd6 --- /dev/null +++ b/unit3_ex3.1.1.py @@ -0,0 +1,5 @@ +# exercise 3.1.1 from unit 3 +# What will be the result of the following expression? +output = "He" + "l" * 2 + "o" + " Python " + str(7.2 / 2) + "." + str(3) +print(output) +# Enswer: 'Hello Python 3.6.3'