Created
February 15, 2022 13:06
-
-
Save gcrsaldanha/ed5d3f450977f4b2072c317d9d35814d to your computer and use it in GitHub Desktop.
Revisions
-
gcrsaldanha created this gist
Feb 15, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ valor_compra = float(input("Digite o valor da compra: \n")) valor_frete = float(input("Digite o valor do frete: \n")) cliente_cadastrado = input("O cliente é cadastrado? (s/n) \n") cupom_pode_ser_utilizado = (valor_compra + valor_frete > 100) or (cliente_cadastrado == "s") print(cupom_pode_ser_utilizado)