PRO
Misbak
asked

Expert
Anuj Shrestha answered
In Python, semicolons are optional and are generally not used. You can add one at the end of a line, but it isnât required.
Feel free to try the code below in the editor on the right (or switch to the Code tab if youâre on mobile):
print("Hello, World!");You'll see this code works just fine.
And I see youâve started your Python journey. Nice... If you have more questions along the way, just let me know.
Python
This question was asked as part of the Learn Python Basics course.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer
