print("Please enter integers (then press enter key twice to show you're done):")
s = input() #whatever you're inputting after the print
first = True #What does this mean???
while s != "": #What does this mean???
lst = s.split() #split all your inputs into a list
for x in lst:
if first: #If its in ur lst?
maxV = int(x) #then the max value will be that input as an integer
first = False #What does this mean?
else:
if maxV < int(x):
maxV = int(x)
s= input()
print(maxV)
I'm confused as to what first=True and first= False in this code, what does it mean to set a variable equal to true or false? Also confused as to what while s != "": means. Sorry, I'm a complete beginner, would be forever grateful if someone could help me