# Lab Exercise 2, Question 11

# What is the result of 10**3?
print("Question 11")
print("The result of 10**3 is: ")
print(10 ** 3)
print()

# Lab Exercise 2, Question 12
# Given x = 5,
# what will be the value of x after
# we run x+=3?
print("Question 12")
x = 5
x += 3
print("The value of x (5) after we run x+=3 will be: ")
print("8")
print(f"Correct answer: {x}")
print()


# Lab Exercise 2, Question 13
# What is the output of ‘APPLE’ > ‘apple’?
print("Question 13")
print("Output of ‘APPLE’ > ‘apple’ will be: ")
print("False, because ASCII of 'apple' is greater")
a = "APPLE"
b = "apple"
print(f"Correct answer {a > b}")  # comparison of unicode
print()


# Lab Exercise 2, Question 14
# What is the result of float (1)?
print("Question 14")
print("Result of float (1) is: ")
print("1.0")
print(f"Correct answer {float(1)}")
print()


# Lab Exercise 2, Question 15
# What will be the output of the following if
# a =2, b=3, c =4, d = 3?
print("Question 15")
a = 2
b = 3
c = 4
d = 3
print(f" a = {a}, b = {b}, c = {c}, d = {d}")
print()
# ques (a)
print("a) a==b: ")
print("False")
print(f"Correct answer {a == b}")
print()
# ques (b)
print("b) a != d: ")
print("True")
print(f"Correct answer {a != d}")
print()
# ques (c)
print("c) b == d: ")
print("True")
print(f"Correct answer {b == d}")
print()
# ques (d)
print("d) a != c: ")
print("True")
print(f"Correct answer {a != c}")
print()
# ques (e)
print("e) a += c: ")
print("6")
a += c
print(f"Correct answer {a}")
print()
# ques (f)
print("f) b /= d: ")
print("1")
b /= d
print(f"Correct answer {b}")
print()
# ques (g)
print("g) b > a: ")
print("True")
print(f"Correct answer {b > a}")
print()
# ques (h)
print("h) a < d: ")
print("False")
print(f"Correct answer {a < d}")
print()
# ques (i)
print("i) b-a == c-b: ")
print("True")
print(f"Correct answer {b-a == c-b}")
print()
# ques (j)
print("j) b >= d: ")
print("True")
print(f"Correct answer {b >= d}")

input()





