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

When you are going from city w to city x, at city w, there is a milestone, after travelling for a while, you come across another milestone. How far city x from
Solve the value of p
A tower has a cone-shaped attic. The diameter of the attic is 10 ft and its height is 6 ft. The volume of the space in the attic is approximately___ cubic feet.
What are the two stepa a producer oan take to gain an absolute advantage? Produce more goods, Use high quality resources, Produce more expensive goode, Use fewe
Underline the adverb of time in each sentence 1.The children walk to the school early in the morning 2.They wear their uniforms everyday. 3.The flag ceremony st
Question down below :)
hi guys i am a girl from india i am indian​ plzzzzzzzzzzz follow mi
Find the circumference of the object. Use 3.14 or 22 for 1. Round to the nearest hundredth, if necessary. DATE: 1.5 ft
what is the median of the following set of numbers 2 7 8 10 12 15 20 21 21 30
Many of the foods we eatcontain genetically modified organismstrue or false ​