Study Guide

3.1.5 Introduce Yourself CodeHS Answers

3.1.5 Introduce Yourself CodeHS Answers

The most common answer is:

print(“My name is Foo”);
print(“I like programming”);

This code snippet has quotation marks that are not standard ASCII quotation marks. In Python, you should use either single quotes ' or double quotes " around strings. Here’s the corrected version of your code:

print("My name is Foo")
print("I like programming")