In this chapter we will explor the
print() function to write text to the screen.
print("9" + "9")
print(str(9) + "nine")
print(9 + 9)
Explain the following statement:
Some babies have names similar to celebrities. Write a program producing the following output:
Harry Hermione Severus Tyrion Daenerys Frodo Luke Leia Darth
Expand the previous exercise so that:
- only a single
- the names are stored in a variable before building the string.