Which of the following is the correct if clause to use to determine whether choice is other than 10?

Which of the following is the correct if clause to use to determine whether choice is other than 10?


A. if choice != 10:
B. if choice != 10
C. if choice <> 10:
D. if choice <> 10
E. None of the above

Answer: A


Python

Learn More Multiple Choice Question :