Skip to content

Commit 7c3178a

Browse files
authored
Update README.es.md
1 parent f3097b4 commit 7c3178a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/30-divisable-binary/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ divisible_binary("0100,0011,1010,1001")
2121
+ Para convertir números binarios en nuestros números enteros cotidianos (base 10 o decimal), es necesario incluir la base del número que ingresamos en el primer argumento (en este caso, base 2 o binario), y la función `int()` se encargará del resto. Sería así:
2222

2323
```py
24-
binary = 0101
24+
binary = '0101'
2525
decimal = int(binary, 2)
2626

2727
print(decimal) # Output: 5

0 commit comments

Comments
 (0)