Computer Science

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


print("X ="X)

Python Funda

18 Likes

Answer

There are two errors in this code fragment:

  1. Variable X is undefined
  2. "X =" and X should be separated by a comma like this print("X =", X)

Answered By

11 Likes


Related Questions