PYTHON LESSON 1: Syntax (Part 1)

0.0(0)
studied byStudied by 12 people
0.0(0)
linked notesView linked note
call with kaiCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

8 Terms

1
New cards
print statement
A(n) ________ is the easiest way to get your Python program to communicate with you.
2
New cards
symbols
A string can contain letters, numbers, and ________.
3
New cards
Text
________ in Python is considered a specific type of data called a string.
4
New cards
SyntaxError
________: EOL while scanning a string literal.
5
New cards
double quotes
While ________ ") (and single- quotes (‘) are both acceptable ways to define a string, a string needs to be opened and closed by the same type of quote mark.
6
New cards
A string, so named because theyre a series of letters, numbers, or symbols connected in order
as if threaded together by string
7
New cards
"The following piece of code does the following steps
"takes in some input"does An Important Calculation"returns the modified input and a string that says "Success! "
8
New cards
SyntaxError
EOL while scanning a string literal