Amity
Patrol — ASCII Heatmap
“Mark every splash—grid stays tight.” — Harbor Watch
Challenge:
Draw a 10×10 ASCII heatmap marking visited positions with
'S'
.
Operations • Map Console
Task:
Implement
draw_heatmap(positions)
returning a multi-line string.
Grid is 10×10; unvisited cells may be spaces or dots; visited cells must be
'S'
.
Click
Run Unit Tests
. If all tests pass, you'll get the flag.
def draw_heatmap(positions): # Your code here return "" # Test runner do not edit below run_selected_test()
Run Unit Tests
Output or flag will appear here...