Cargando el ejercicio…
In an old legend, one grain is placed on the first square of a chessboard, and each next square gets twice as many as the previous one. The function square receives a square number from 1 to 64 and returns how many grains are on that square. If the square number is outside this range, raise ValueError.
112248def square(number: int) -> int:
Inicia sesión para ver tu historial de envíos
Iniciar sesiónInicia sesión para usar el AI Mentor
Iniciar sesión1122481632768649223372036854776000