1. What do we use to add additional treaty to an if?





2. What will the following code return?

x = 10 if x > 5: print("Greater") else: print("Smaller")




3. How can we have multiple conditions in Python?





4. What do we use to start a basic treaty in python?







5. What will be the output of the following code?

age = 15 if age >= 18: print("Adult") else: print("Minor")





6. How do we control a treaty?

str(123)








7. Which of the following is an example of string?






8. Which of the following is a valid float?






9. What will the following code return?

bool('False')






10. What's the result of 5*3 in python?






11. Which symbol do we connect two string to Python?







12. What is the result of `True and False`?








13. How do we define a float in Python?





14. What is the output of the following code?

str(10) + ' apples'