Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 409 Bytes

File metadata and controls

23 lines (14 loc) · 409 Bytes

Pattern: Unnecessary ;

Issue: -

Description

Unlike programming languages like Java and C#, statements in Python do not need to end with a semicolon. They can be removed.

Example of incorrect code:

print('Hello world!');

Example of correct code:

print('Hello world!')

Further Reading