You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zodiac_Sign = ['Rata', 'Buey', 'Tigre', 'Conejo', 'Dragón', 'Serpiente', 'Caballo', 'Oveja', 'Mono', 'Gallo', 'Perro', 'Cerdo']
Wu_Xing = ['Madera', 'Fuego', 'Tierra', 'Metal', 'Agua']
Elementos = [element for element in Wu_Xing for i in range(2)] # Cada elemento se repite dos años seguidos
def Calcular_Ciclo_SexGen(year):
if year >= 1924:
Year = (year - 1924) % 60
Signo = Zodiac_Sign[Year % 12]
Element = Elementos[Year % 10]
return print(f"Signo {Signo} , Elemento {Element}")
return print("El año no está dentro del Calendario Jia Zi")
Calcular_Ciclo_SexGen(int(input("Ingrese Año : ")))
The text was updated successfully, but these errors were encountered:
CICLO SEXAGENARIO CHINO
https://www.travelchinaguide.com/intro/astrology/60year-cycle.htm
Zodiac_Sign = ['Rata', 'Buey', 'Tigre', 'Conejo', 'Dragón', 'Serpiente', 'Caballo', 'Oveja', 'Mono', 'Gallo', 'Perro', 'Cerdo']
Wu_Xing = ['Madera', 'Fuego', 'Tierra', 'Metal', 'Agua']
Elementos = [element for element in Wu_Xing for i in range(2)] # Cada elemento se repite dos años seguidos
def Calcular_Ciclo_SexGen(year):
if year >= 1924:
Year = (year - 1924) % 60
Signo = Zodiac_Sign[Year % 12]
Element = Elementos[Year % 10]
return print(f"Signo {Signo} , Elemento {Element}")
return print("El año no está dentro del Calendario Jia Zi")
Calcular_Ciclo_SexGen(int(input("Ingrese Año : ")))
The text was updated successfully, but these errors were encountered: