Using special characters like !, @, or # in identifiers is against Python’s syntax rules and results in a syntax error.
Example of Using Special Characters in Identifiers
total$sum = 100 # SyntaxError due to the "$" symbol
To avoid this error: