Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
updated error-msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Muthulakshimi committed Oct 8, 2022
1 parent 66673bd commit 93d7602
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions error_help/e1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ The compiler was expecting something like a ' or " or } or ) or ]

Take the following example:-

def main():
a='bad code
Code:
def main():
a='bad code

Error:
Missing ' at eof. A symbol if started has to have a closing parameter. The same condition applies to dictionary,list,Cppcode etc.

Correction:
def main():
a='bad code'

As you can see that here the ' is missing at the end. This is the reason of the error. Same goes for dictionary, list, Cppcode elc

0 comments on commit 93d7602

Please sign in to comment.