repl.it
Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
d = '(`,&)(À,¬)(0,Q)((,0)(l,V)($,g)(0,X)(`,T)((,f)(0,W)(P,c)(`,?)(`,0)((,D)(H,|)($,g)(0,U)(H,;)(`,A)'

p = [(ord(d[5*n+1]), ord(d[5*n+3])) for n in range(int(len(d)/5))]
print(p)

l = [item for t in p for item in t]
print(l)
print('min: '+str(min(l)))
print('max: '+str(max(l)))

m = [abs(t[0]-t[1]) for t in p]
print(m)
print('min: '+str(min(m)))
print('max: '+str(max(m)))
?