Resolve Python Prints Zero in Output with Visual Studio Code on Mac - DevPops-Inc/python GitHub Wiki

• The following resolution is for if Python prints zero in the output.
image

• Open your Python script in Visual Studio Code and find the print statement that the zero follows.
image

• Erase the print statement that wrapping function you wish to print.
image

• Select the run button.
image

• This time your output won’t contain a zero.
image