Files
learning/python/основы/преобразование в десятичную сист.py
2022-05-06 00:49:26 +03:00

2 lines
194 B
Python
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
print(int(bin(11), 2))
#число в двоичной системе (bin(11)) преобразовывается в целое число с указанием основы системы (2)