Hamburger¶
Topic:
output a message
With the starter code (given in main.py
) your program outputs an empty hamburger. You goal is to create a complete hamburger.
Run the program and observe the output. It should be as follows:
(--Bun--) (--Bun--)
Notice the empty space. This empty line comes from the empty
print()
function.Place the string
"Hamburger"
inside that emptyprint()
function.
Starter Code¶
print("(--Bun--)")
print()
print("(--Bun--)")
Tests¶
from exercise.fixtures import captured_output
def test_hamburger(captured_output):
assert captured_output() == "(--Bun--)\nHamburger\n(--Bun--)"