Mind-Controlled-Shock-Collar/collar-utils/array_comma.py

7 lines
173 B
Python
Raw Permalink Normal View History

2024-06-19 21:32:41 -07:00
bitstream = input("Enter your bitstream")
bitstream = [*bitstream]
#print(bitstream)
for i in range(len(bitstream)):
print(bitstream[i]+", ", end="")
print(len(bitstream))