Skip to content

Instantly share code, notes, and snippets.

View eduuuardo's full-sized avatar

Eduardo Vera eduuuardo

View GitHub Profile
@eduuuardo
eduuuardo / gist:5463ce74b900d0894a79d23468878d5a
Created October 28, 2019 19:56 — forked from cjaoude/gist:fd9910626629b53c4d25
Test list of Valid and Invalid Email addresses
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]
@eduuuardo
eduuuardo / conversor.py
Created October 15, 2020 03:20
Conversor de MXN a USD en Python
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")
@eduuuardo
eduuuardo / de_verdes_a_pesos.py
Last active October 15, 2020 03:34
Conversor de USD a MXN
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")