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

 

peter@norvig.com > war_is_over
prev  |  next  |  chance

Give peace a chance: in this exercise you will try to end the war as quickly as possible -- the card game war, from the previous exercise, that is. Suppose you are able to peek at


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

def war_is_over(A, B):

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

Copyright Nick Parlante 2017 - privacy