bug = max('hey man')
print(bug)

$ C:/python/Python311/python.exe c:/Users/LENOVO/OneDrive/Desktop/python/hello.py y

tiny = min('hey boi')
print(tiny)

$ C:/python/Python311/python.exe c:/Users/LENOVO/OneDrive/Desktop/python/hello.py


Lists

nums = [0, 30, 3, 430, 159]
print(len(nums))

prints, (length of the list)

5

print(max(nums))

prints, (the max value)

430

print(min(nums))

prints, (the min value)

0

print(sum(nums))

prints, (adds the values of the list)