2. Input a decimal number and test if it is not equal to 16.5.


3. If a number x, input from the keyboard is greater than 57, add 4 to x and print the

answer.


4. Input two numbers and find the average only if they are both less than 100.

Respuesta :

Answer:

2:

decNum = float(input("Decimal number: "))

if decNum != 16.5:

   print("Does not equal")

elif decNum == 16.5:

   print("Equal")

else:

   pass

3:

if x > 57:

   x += 4

   print(x)

4:

numOne = int(input("Enter number: "))

numTwo = int(input("Enter number: "))

if numOne < 100 and numTwo < 100:

   yes = numOne + numTwo

   print(yes // 2)

else:

   pass

Explanation:

Please give me brainliest.

ACCESS MORE
EDU ACCESS