Study Guide

3.1.7 Vertical Name CodeHS Answers

3.1.7 Vertical Name CodeHS Answers

The most common answer is:

print(“F”)
print(“O”)
print(“O”)

This code will output the name “FOO” vertically, with each letter on a new line.

Here’s the same code, ensuring the use of standard ASCII quotation marks for compatibility with Python syntax:

print("F")
print("O")
print("O")