@@ -2079,3 +2079,42 @@ def titulo(msg, cor=0):
2079
2079
print(f"O triplo de {num} é {numeros.triplo(num)}")'''
2080
2080
2081
2081
2082
+ # CHALLENGE 107
2083
+
2084
+ # productValue = float(input("How much is the product ? "))
2085
+ # myMoney = float(input("How much money do you have ? "))
2086
+ # print(f"O valor do produto é {productValue} and you have {myMoney}, then ", end="")
2087
+ # print(f"you will received a charged of {myMoney - productValue}")
2088
+ # import moeda
2089
+
2090
+ '''# import moeda
2091
+ from moeda import metade, dobro, aumentar
2092
+ p = float(input("Enter with the price: R$"))
2093
+ print(f"The half of {p} is {metade(p)} R$")
2094
+ print(f"The double of {p} is {dobro(p):.2f} R$")
2095
+ print(f"The increase of 10% of {p} é {aumentar(p, 10):.2f} R$") # then the value total is")
2096
+ # a = moeda.totalDim(p)
2097
+ # print(f" And the value is{a}")
2098
+ # print(f"The decrease of 10% of {p} is {diminuir(p, 10):.2f} R$"), # then the value total is{moeda.diminuir(p)}")'''
2099
+
2100
+
2101
+ # CHALLENGE 108
2102
+
2103
+ '''# def ():
2104
+ # from moeda import metade
2105
+ # return metade
2106
+
2107
+
2108
+ p = float(input("Enter with the price: "))
2109
+ import moeda
2110
+ # print(moeda.metade(p))
2111
+ # print(moeda.moeda(moeda.metade(p)))
2112
+ print(f"The half of {moeda.moeda(p)} is {moeda.moeda(moeda.metade(p))}")
2113
+ print(f"The double of {p} is {moeda.dobro(p):.2f} R$")
2114
+ print(f"The increase of 10% of {p} é {moeda.aumentar(p):.2f} R$") # then the value total is")
2115
+ # a = moeda.totalDim(p)
2116
+ # print(f" And the value is{a}")
2117
+ print(f"The decrease of 10% of {p} is {moeda.diminuir(p):.2f} R$"), # then the value total is{moeda.diminuir(p)}")
2118
+ '''
2119
+
2120
+ # CHALLENGE 109
0 commit comments