Explica este c贸digo Python
Dificultad: F谩cil
f = "A"
print(int(f, 16))
馃憠 A. 10
馃憠 B. 16
馃憠 C. A
馃憠 D. 1
馃憠 A. La funci贸n En el ejemplo convertimos la letra Respuesta:
10
int
de Python es 煤til para realizar conversiones de tipo a entero, pero la base no siempre tiene que ser decimal, podemos convertir valores a otros sistemas num茅ricos como por ejemplo el octal (en base 8) y el hexadecimal (en base 16).A
a hexadecimal, lo que nos dar谩 el resultado de 10
.