Python Program Code Runner Javascript Foreach