Added ascii_nn_input_helper.py
This commit is contained in:
16
ascii_nn_input_helper.py
Normal file
16
ascii_nn_input_helper.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/python3
|
||||||
|
|
||||||
|
input = [
|
||||||
|
" # # ",
|
||||||
|
"/''--__",
|
||||||
|
"_---'''",
|
||||||
|
]
|
||||||
|
|
||||||
|
o = []
|
||||||
|
|
||||||
|
for i in input:
|
||||||
|
for h in i:
|
||||||
|
#print(f" '{h}' (#{round(ord(h)/127, 2)});", end='')
|
||||||
|
print(f"{round(ord(h)/127, 2)}, ", end='')
|
||||||
|
#print('')
|
||||||
|
|
Reference in New Issue
Block a user