4
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 4 of 50 • Introduction to Information Technology - EL3701

Read the code below. What will the computer print if the input for year_variable is 1700?if year_variable == 1776: print("Your answer is correct. The Declaration of Independence was signed in “year_variable”.")elif year_variable 1776: compute_variable = year_variable - 1776 print("Subtract “compute_variable” years from your answer for the correct answer.")

Answer
A
Your answer is incorrect. The Declaration of Independence was signed in 1776.
B
Subtract 76 years from your answer for the correct answer.
C
Add compute_variable years to your answer for the correct answer.
D
Add 76 years to your answer for the correct answer.
Previous
Next
Read the code below. What will the computer…