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

write an equation in point-slope form and slope - intercwpt form for passes through (1,9),slope =2
?It is better to hear or give a specific "no" to a request than to settle for "maybe" or "I'll try."
In triangle abc, the sides are ac=bc=8 inches and ab=4. find the angles
It takes 163./kjmol to break an nitrogen-nitrogen single bond. calculate the maximum wavelength of light for which an nitrogen-nitrogen single bond could be bro
Jack: if they are done with that construction on the parkway, that will help us get to the theater faster. what type of causal claim is jack making?
How do you simplify this
How do languages, religion, and food reflect the cultural diffusion in Mexico and Central America?Please Help Me * also if you want help m,e make u brainliest b
What is the lcm of 12 and 10
Simplify the radical
If f(1)=2, write a corresponding ordered pair