This is the source site i cant get to understand this piece of code, what does "While not name:" refers to and as mentioned here how could it be same as "not name != '' and how "numOfGuests != 0 " is as same as "if numOfGuests:" your help would be appriciated
name = ''
while not name: #(1)
print('Enter your name:')
name = input()
print('How many guests will you have?')
numOfGuests = int(input())
if numOfGuests: #(2)
print('Be sure to have enough room for all your guests.') #(3)
print('Done')