• Beginner question about a line of code

 

So in the following code:

def end_zeros(num: int) -> int: # your code here return None

if name == 'main': print("Example:") print(end_zeros(0))

I'm confused about the line that has "ifname == 'main': What does that mean and why do I need it?

.