id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

cse160-staff@cs.washington.edu cse160_22au_checkin03 > get_last_pixel
prev  |  next  |  chance

This problem will only make sense after reading the HW3 writeup. Return the value of the pixel on the last row in the last column of the given pixel_grid. The pixel_grid will always contain at least one value.


get_last_pixel([[5, 2, 3], [1, 5, 4]]) → 4
get_last_pixel([[1, 3], [3, 4], [15, 16], [9, 2]]) → 2
get_last_pixel([[100, 50]]) → 50

...Save, Compile, Run (ctrl-enter)

def get_last_pixel(pixel_grid):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Post-solution available

Copyright Nick Parlante 2017 - privacy