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

Find the measures of two angles, one positive and one negative, that are coterminal with pi divided by two.
While serving in office, President Adams focused his term on
What problems affected the South Vietnamese army after the Paris Peace Accords? The troops were spread thin. Desertions reached an all-time high. They had very
Verify the basic identity. What is the domain of validity? cot theta = cos theta csc theta
Which activity offers the most health benefits? gardening taking out the trash, walking down a flight of stairs, or doing sit-ups and push-ups?
Are children under the age of 4 more likely to be victims of accidental poisining?
Sue can run 18 miles in 2 hours and can bike 60 miles in 3 hours what percent of sue average biking speed is her average running speed
Combine like terms and classify the polynomial by the number of terms. 7x + 3x – x A. trinomial B. monomial C. binomial D. unomial
The perimeter of a rectangle is 32 centimeters. the width is 7 centimeters.
Why do many cellular processes depend on osmosis?