Python - Conditional Statements
Find the error in this code:
if x = 10:
print("Ten")if x = 10:
print("Ten")= which is assignment, not comparison.== to compare values in conditions.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions