PartB 2 a)

print(" Enter site of the pyramid")
a = int(input())
if a <=0:
    print("The number need to be positive")
    #Cheking for input mistake
else:
    print("Enter the hight of the pyramid")
h = int(input())
if h <=0:
    print("The height need to be positive")
    #Cheking for input mistake
else:
    V =(h/3)*(a*a)
    print("The volume is: ",V)


Part B 2 b)

print("Enter first number: ")
a = float(input())
print("Enter the second number: ")
b = float(input())
if a>b:
    print("The bigger number is the first one ",a)
elif b==a:
    print("The two numbers are the same volume",a)
else:
    print("The second number is bigger",b)

Part B 2)

temperature = ['22','33','20','22','21','11','17','80']
print(temperature)
temperature.append(19)
print(temperature)
