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

A ball of mass 0.5 kg is swinging at a small angle from a light string of length 0.25 m. What is the period of this pendulum? Round answer to two significant di
Worksheet simple past of regular verbs Conjugate the verbs correctly
Choisissez la bonne réponse. Complétez avec le pronom relatif composé. C’est ma meilleure amie ____ j’écris souvent relatif composee fast plss
100 free pts answer quickly (multiplication):Tim gets $5 for delivering the paper. How much money will he have after delivering the paper 3 times?
Please really need help
The confederate war was...
Prions are A) proteins coded by genes. B) strands of nucleic acids encased in a protein coat. C) viral-infected cells. D)infectious proteins with no associated
Answer pls quick or dont i dk what to say
i need help now please
22, divided by, 25, end fraction of a number is what percentage of that number?