fork download
  1. import re
  2. import sys
  3.  
  4. blocks = re.findall("(?s){(.*)}", sys.stdin.read())
  5. blocks3D = [block.strip().splitlines() for block in blocks]
  6. print(blocks3D[0][-3][9])
Success #stdin #stdout 0.02s 27720KB
stdin
LevelsCount:2
LevelName:Name
LevelNum:1
LevelType:Green
{
==d=====================
=0000000000000000000000=
=0000000000000000000000=
=0000000000000000000000=
=0000000000000000000000=
=0000000000000000000000=
=0001111122211111000000=
=0000000000000000000000=
========================
}
stdout
2