Computer Science
Find out the error(s) in following code fragment:
else = 21 - 5
Python Funda
8 Likes
Answer
else is a keyword in Python so it can't be used as a variable name.
Answered By
4 Likes
Related Questions
Find out the error(s) in following code fragment:
X = 24 4 = X
Find out the error(s) in following code fragment:
print("X ="X)
What will be the output produced by following code fragment:
X = 10 X = X + 10 X = X - 5 print (X) X, Y = X - 2, 22 print (X, Y)
What will be the output produced by following code fragment:
first = 2 second = 3 third = first * second print (first, second, third) first = first + second + third third = second * first print (first, second, third)