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

 

dsawyer@methacton.org > noMax
prev  |  next  |  chance

Complete the function so that it removes the largest value from the list and then returns it. All the other values in the list should remain in the same relative positions. The parameter will have no duplicate values. The parameter will have at least one number in it.


noMax([4, 2, 9, 8]) → [4, 2, 8]
noMax([88, 4, 71]) → [4, 71]
noMax([13, -3, 24, 6, 25]) → [13, -3, 24, 6]

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

def noMax( nums ):

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

Difficulty: 200

Copyright Nick Parlante 2017 - privacy