Making our own function

Earlier in the chapter, we looked at how one could write code that simulates the making of a pizza. The code looked like this:

print("Flattening the dough to form a round pizza Making our own function")
print("Adding some tomato sauce Making our own function")
print("Adding some mozzarella cheese Making our own function")
print("Adding some spicy pepperoni Making our own function") print("Preparing the pizza in the oven ...

Get Swift iOS Programming for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.