p1 = int(input("Digite o 1° preço: "))
p2 = int(input("Digite o 2° preço: "))
p3 = int(input("Digite o 3° preço: "))
if p1 < p2 and p1 < p3:
print('O produto mais barato é o {}'.format(p1))
elif p2 < p1 and p2 < p3:
print('O produto mais barato é o {}'.format(p2))
elif p3 < p2 and p3 < p1:
print('O produto mais barato é o {}'.format(p3))
#https://pt.stackoverflow.com/q/353792/101
cDEgPSBpbnQoaW5wdXQoIkRpZ2l0ZSBvIDHCsCBwcmXDp286ICIpKQpwMiA9IGludChpbnB1dCgiRGlnaXRlIG8gMsKwIHByZcOnbzogIikpCnAzID0gaW50KGlucHV0KCJEaWdpdGUgbyAzwrAgcHJlw6dvOiAiKSkKaWYgcDEgPCBwMiBhbmQgcDEgPCBwMzoKICAgIHByaW50KCdPIHByb2R1dG8gbWFpcyBiYXJhdG8gw6kgbyB7fScuZm9ybWF0KHAxKSkKZWxpZiBwMiA8IHAxIGFuZCBwMiA8IHAzOgogICAgcHJpbnQoJ08gcHJvZHV0byBtYWlzIGJhcmF0byDDqSBvIHt9Jy5mb3JtYXQocDIpKQplbGlmIHAzIDwgcDIgYW5kIHAzIDwgcDE6CiAgICBwcmludCgnTyBwcm9kdXRvIG1haXMgYmFyYXRvIMOpIG8ge30nLmZvcm1hdChwMykpCgojaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzM1Mzc5Mi8xMDEK