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

In 1886, the Statue of Liberty was dedicated. What is the meaning of the word "dedicated" in this context? Can't seem to find the meaning from the dictionary.
Which statement is true with regard to a classical symphony? the third movement is a dancelike movement, like that of minuet or scherzo the first movement is a
A locker combination has three nonzero digits, and digits cannot be repeated. The first two digits are 1 and 2. What is the probability that the third digit is
What is the distance between -1 and 7 on the number line?
What does shortchanged mean
What is how old are you in Spanish
What did nicholas ii feel about democracy?
A procedure that is performed under ultrasonic guidance to assess the status of the fetus is called?
Will is at a shirt sale where he can buy one and get a second one for 40 percent off. He wants to buy two shirts priced at $29 each. How much will he pay? cost
How many pints of blood are in a human body?