This file contains 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 characters
verdes = input("Cuántos verdes tienes?: ") | |
verdes = float(verdes) | |
valor_mx = 0.047 | |
pesos = verdes / valor_mx | |
pesos = round(pesos, 2) | |
pesos = str(pesos) | |
print("Tienes $" + pesos + " pesos mexicanous") |
This file contains 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 characters
pesos = input("Cuántos pesitos mexicanos tienes?: ") | |
pesos = float(pesos) | |
valor_dolar = 21.14 | |
dolares = pesos / valor_dolar | |
dolares = round(dolares, 2) | |
dolares = str(dolares) | |
print("Tienes $" + dolares + " dólares") |
This file contains 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 characters
Use: for testing against email regex | |
ref: http://codefool.tumblr.com/post/15288874550/list-of-valid-and-invalid-email-addresses | |
List of Valid Email Addresses | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |