Computer Science

Find out the error(s) in following code fragment:


a, b, c = 2, 8, 9
print (a, b, c)
c, b, a = a, b, c
print (a ; b ; c)

Python Funda

25 Likes

Answer

In the statement print (a ; b ; c) use of semicolon will give error. In place of semicolon, we must use comma like this print (a, b, c)

Answered By

14 Likes


Related Questions