-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.py
More file actions
48 lines (36 loc) · 868 Bytes
/
Test.py
File metadata and controls
48 lines (36 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# book = "Harry Potter"
# print(book)
# name = "Amber"
# print(f"Hello {name}!")
# my_favourite_number = 3
# times_five = my_favourite_number * 5
# print("I multiplied your favourite number by 5 and got...")
# print(times_five)
# var = input("Type sth")
# print(var)
# Ask the user for two numbers
# a = float(input("Give me the first number: "))
# b = float(input("Now give me the second number: "))
# Perform calculations
# print("Adding the numbers gives:", a + b)
# print("Subtracting gives:", a - b)
# print("Dividing gives:", a / b)
# print("Multiplying gives:", a * b)
#def sum(a,b,c,d):
#sum = a + b + c + d
#return sum
#def mult(a,b,c,d):
#mult = a * b * c * d
#return mult
#R1 = sum(1,2,5,4)
#print(R1)
#M1 = mult(1,2,5,4)
#print(M1)
a = 5
b = 3
def funct(a,b):
a = 3
print(a)
print(b)
print(a,b)
print(funct(a,b))