315,851 views
7 votes
7 votes
What is the use of comma and semicolon with print statement ?​

User Das Kinder
by
2.8k points

1 Answer

18 votes
18 votes

Answer:

The use of a comma and semicolon with print statement tells the computer that the program or specific line is ending.

Step-by-step explanation:

So for example, with a python program if you write print("Hello, World"); the semicolon tells the computer that, that command ends at the semicolon.

User Avalerio
by
3.0k points