Question: Q 1 1 Point Review the following code snippets: Snippet A age hat ( n ) int = int ( input ( What is

Q1
1 Point
Review the following code snippets:
Snippet A
age hat(n) int = int (input("What is your age?"))
if age =12 :
price: int =5
else:
price: int =10
Snippet B
age: int If int(input("What is your age?"))
if age 12 :
price: int =5
elif age >60 :
price: int =5
else:
price: int =10
Snippet C
age: int = int(input("What is your age?"))
if (age 12) or (age >60):
price: int =5
else:
price: int =10
Snippet D
age: int = int(input("What is your age?"))
if age 12;
price: int =5
elif age 60 :
price; int =10
Select the two snippets that result in the same value for
 Q1 1 Point Review the following code snippets: Snippet A age

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!