# data[].attributes.body
Given this code extract in Python, what is the value of y?

x = 0
y = 10 if x > 0 else -10

Select one:

0

-10

Syntax error

10

# data[].attributes.body
Given inputs A and B, select the truth table corresponding to the correct output given the logic gates below:

Select one:

A B C Output
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0

A B C Output
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1

A B C Output
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0

# data[].attributes.body
A year is a leap year if it is divisible by 4 but not by 100 or if it is divisible by 400.

# data[].attributes.body
sal =input("Enter the Salary : ")
if sal< =11000:
tax=0
print("Salary After tax :" , sal)
elif sal>=11000 and sal<= 35000:
tax=sal*0.2
gsal=sal-tax
print(""Salary After tax :" , gsal)