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

which is a component of an effective introduction? A. The thesis statement is not included. B. Sentence variety and word choice are limited. C The paragraph
Should the government place a special tax on fast food? eng4uv
The mean of the temperatures in the chart is 24° with a standard deviation of 4°. which temperature is within one standard deviation of the mean? 16° 18° 27° 29
An employee receives $40 in commission on sales amounting to $1,000. What is the employee's commission rate in this situation?
Find the mean of the following scores on a math test: 73, 54, 73, 93, 54 Round to the nearest whole number if necessary
CHOOSE 2 ONLY!!!!! THX!
What marked the limits of roman expansion to the east?
​the portion of a mature sperm that contains enzymes needed for fertilization is the ____.
Angel is x years old, in 15 years how old will Angel be?
The excretory system filters and deals with waste materials so that the body can maintain a stable internal environment called .