lewisthebrain
lewisthebrain lewisthebrain
  • 24-01-2020
  • Computers and Technology
contestada

To write 10 lines of code on paper:

It must include
2 Print statements
an IF statement
2 integers/floats with a calculation

​

Respuesta :

darianamin
darianamin darianamin
  • 24-01-2020

print("enter numbers between 1 and 10")

num1=float(input("enter the first digit to add together"))

num2=float(input("enter the second digit to add together"))

if num1 and num2 >=10:

answer=num1+num2

print(answer)

else:

print("answer not accepted please try again later")

exit()

Answer Link

Otras preguntas

You are given the following information: mass= 48 g. Volume=24 cm. what is the density of this substance
Z - 2/3 = 1/8 Please Help!!!
whatnis the greatest common factor of 7 and 19
How do you turn 0.26 into a fraction
what is bigger 0.17 or 0.165
Is 5.2 greater than 60.3
Solve the equation 9j - 8 = 8 + 9j
What French scholar spread Protestantism to Switzerland? a. Henry VIII b. John Calvin c. Martin Luther d. Leo X
What is 11,760,825 in word and expanded form
What specifically makes a mineral process inorganic ?