Log in
Sign up for FREE
arrow_back
Library

10/22-10/23 - CodeCademy - Syntax

star
star
star
star
star
Last updated over 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
1
1
1
1
1
1
1
1
1
1
1
Question 1
1.

Type your name

Question 2
2.

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

Question 3
3.

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

Question 4
4.

Strings section: What is a string?

Question 5
5.

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

Question 6
6.

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

Question 7
7.

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

Question 8
8.

Calculations section: What kind of math can Python do?

Question 9
9.

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

Question 10
10.

Changing Numbers section: What is a float in Python?

Question 11
11.

Moduo section: What does the % operator do?

Question 12
12.

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