What is the correct syntax that will set the variable "var1" to the value "correct" if variable "a" is greater than 1?
Correct Answer: var1 = "correct" if a > 1 else None
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions