10/22-10/23 - CodeCademy - Syntax

Last updated about 5 years ago
12 questions
Note from the author:
Codecademy Python 3 Lessons on Syntax Comments, Strings, Errors, Calculations Exponents Changing Numbers and Moduo
1

Type your name

1

Comments section: Write me a line of code that prints She sells sea shells down by the sea shore

1

Write me a single line comment that tells me who one of your family members is

1

Strings section: What is a string?

1

Are variables changeable? If so, how often can you change them?

1

What kind of quotes can you use to create a string?

1

Errors section: What is the difference between a SyntaxError and a Name Error?

1

Calculations section: What kind of math can Python do?

1

Exponents section: How do you do an exponent in Python? Answer this by showing me how to print out 9^2.

1

Changing Numbers section: What is a float in Python?

1

Moduo section: What does the % operator do?

1

Write a line of code to print out the remainder of 23 divided by 5. Do using the mod operator.