diff --git a/module1_examples.py b/module1_examples.py new file mode 100644 index 0000000000000000000000000000000000000000..8768d56bed5bd98a4aa444c73726dbd066a983f3 --- /dev/null +++ b/module1_examples.py @@ -0,0 +1,24 @@ +#%% module 1, example 0 + +myname = 'vedrana' +first_number = 5.6 +second_number = 8 +a = first_number + second_number +b = first_number > second_number +print(myname) +print(a) +print(b) + +#%% module 1, example 1 + +import math +a = 50 +b = math.sqrt(a) +print(b) + + +#%% module 1, execution in order + +# This will not work, since code is executed line by line +that = 15 + this +this = 27