lista=[19, 3, 2, 6, 7, 8, 5]
def min(values):
smallest = None
for value in values:
if smallest is None or value < smallest:
smallest = value
return smallest
menorvalor=min(lista)
print("o menor valor é:")
print(menorvalor)
CgpsaXN0YT1bMTksIDMsIDIsIDYsIDcsIDgsIDVdCgoKZGVmIG1pbih2YWx1ZXMpOgogICAgc21hbGxlc3QgPSBOb25lCiAgICBmb3IgdmFsdWUgaW4gdmFsdWVzOgogICAgICAgIGlmIHNtYWxsZXN0IGlzIE5vbmUgb3IgdmFsdWUgPCBzbWFsbGVzdDoKICAgICAgICAgICBzbWFsbGVzdCA9IHZhbHVlCiAgICByZXR1cm4gc21hbGxlc3QKCgptZW5vcnZhbG9yPW1pbihsaXN0YSkKcHJpbnQoIm8gbWVub3IgdmFsb3Igw6k6IikKcHJpbnQobWVub3J2YWxvcik=