Tipo de valor
Crea una función que tome un valor como argumento y devuelva el tipo de este valor.
Ejemplos
get_type(1) ➞ "int"
get_type("a") ➞ "str"
get_type(true) ➞ "bool"
get_type([]) ➞ "array"Notas
N/A
Crea una función que tome un valor como argumento y devuelva el tipo de este valor.
get_type(1) ➞ "int"
get_type("a") ➞ "str"
get_type(true) ➞ "bool"
get_type([]) ➞ "array"N/A