Skip to content

Commit 551b692

Browse files
committed
doc: add comments
Exercises with commented arithmetic operators. Currency Converter.
1 parent 7fa6fd4 commit 551b692

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ex010.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
#Currency Converter.
12
#10- Create a program that reads how much money a person has in their wallet and shows how many dollars they can buy.
23
# Considering US$1.00 = R$5.45
34
real = float(input('How much many do you have in R$:'))
45
dollar = real/5.45
56
print('So if you have R${} you can buy US${:.2f}.'.format(real, dollar))
67

8+
#Conversor de Moedas.
79
#10: Crie um programa que leia quanto dinheiro uma pessoa tem na carteira e mostre quantos dólares ela pode comprar. Considerando
810
# o dolar U$ 6.29
911
'''carteira = float(input('Quando dinheiro você tem na sua carteira em R$'))

0 commit comments

Comments
 (0)