Resolved: Why do you use ";" some times?
Good morning. I just would like to know why sometimes you use the ";" symbol in the code. When do we have to use it? I thought that Python didn't require to use it at the end of the lines of code. Thank you
2 answers ( 1 marked as helpful)
Hey Alessandro,
Thank you for reaching out!
In Python, the semi-colon suppresses the output. In the lesson Random Dataset: Model Performance, it's used to suppress the text output that otherwise appears above the confusion matrix if the semi-colon is not there.
Kind regards,
365 Hristina
Interesting, I didn't know it. Thank you!