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

So math math math math math more math lol help me with these 2 problems!
Find the volume of the pyramid 6cm 11cm 4cm
Read the dialogue below and underline the command forms used. Esteban: Profesor Salazar, ¿qué es lo que tengo que hacer para el informe de lectura? Profesor Sa
I need help - Geometry - 15 points + brainlyist - 1 question -
What characteristics describe organisms classified in to the Kingdom Animalia?​
it takes 125.0ml of 3.5M hydrobromic acid to neutralize 75.0ml of lithium hydroxide. what is the concentration of lithium hydroxide ​
The value of y is directly proportional to the value of x. If x = 9 then y= 27, what is the value of x when y= 156? A) 3 B) 68 C)81 D) 52
Which of the following is not a central bank? The Bank of England The Bank of Japan The Bank of AmericaThe Federal Reserve​
find the side lengths ! help pls
How did dinosaurs die