AllenDowney / ThinkPython2

LaTeX source and supporting code for Think Python, 2nd edition, by Allen Downey.
Other
2.49k stars 1.65k forks source link

do_twice(print, 'spam') change to do_twice(print_twice, 'spam') #60

Open luojianp opened 4 years ago

luojianp commented 4 years ago

The 3.14 Exercises:

  1. Use the modified version of do_twice to call print_twice twice, passing 'spam' as an argument. so
    do_twice(print, 'spam')
    should be change to
    do_twice(print_twice, 'spam')