Learning Python: Day 48
Planning your project Installing Pygame Starting the game project Create a Pygame window and responding to user input
Planning your project Installing Pygame Starting the game project Create a Pygame window and responding to user input
Ch. 12 – A Ship that Fires Bullets
Responding to a failed test name_function.py def get_formatted_name(first, last, middle=”): ….”””Generate a neatly formatted full name.””” ….if middle: ……..full_name = f”{first} {middle} {last}” ….else: ……..full_name = f”{first} {last}” ….return full_name.title() $ pytest ======================== test session starts =================== ========== –snip– test_name_function.py .… Read More »Learning Python: Day 39