set the maximum_so_far to the first number
for each other number:
if the next number is larger than maximum_so_far:
set maximum_so_far to the number
At the end, maximum_so_far contains the largest value
set the maximum_so_far to the first number
for each other number:
if the next number is larger than maximum_so_far:
set maximum_so_far to the number
At the end, maximum_so_far contains the largest value
set the maximum_so_far to the first number
for each other number:
if the next number is larger than maximum_so_far:
set maximum_so_far to the number
At the end, maximum_so_far contains the largest value
set the maximum_so_far to the first number
for each other number:
if the next number is larger than maximum_so_far:
set maximum_so_far to the number
At the end, maximum_so_far contains the largest value
set the maximum_so_far to the first number
for each other number:
if the next number is larger than maximum_so_far:
set maximum_so_far to the number
At the end, maximum_so_far contains the largest value
max_so_far = int(input("Type in a score: "))
for i in range(4):
score = int(input("Type in a score: "))
if score > max_so_far:
max_so_far = score
print("High score was", max_so_far)
max_so_far = int(input("Type in a score: "))
for i in range(4):
score = int(input("Type in a score: "))
if score > max_so_far:
max_so_far = score
print("High score was", max_so_far)
max_so_far = int(input("Type in a score: "))
for i in range(4):
score = int(input("Type in a score: "))
if score > max_so_far:
max_so_far = score
print("High score was", max_so_far)
max_so_far = int(input("Type in a score: "))
for i in range(4):
score = int(input("Type in a score: "))
if score > max_so_far:
max_so_far = score
print("High score was", max_so_far)
max_so_far = int(input("Type in a score: "))
for i in range(4):
score = int(input("Type in a score: "))
if score > max_so_far:
max_so_far = score
print("High score was", max_so_far)