129k views
1 vote
What is the use of comma and semicolon with print statement ?​

User Xxa
by
4.0k points

1 Answer

6 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 Rush Frisby
by
4.4k points