PYTHON LESSON 1: Syntax (Part 1)

studied byStudied by 10 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions
Get a hint
Hint

print statement

1 / 7

flashcard set

Earn XP

Description and Tags

8 Terms

1

print statement

A(n) ________ is the easiest way to get your Python program to communicate with you.

New cards
2

symbols

A string can contain letters, numbers, and ________.

New cards
3

Text

________ in Python is considered a specific type of data called a string.

New cards
4

SyntaxError

________: EOL while scanning a string literal.

New cards
5

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.

New cards
6

A string, so named because theyre a series of letters, numbers, or symbols connected in order

as if threaded together by string

New cards
7

"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! "

New cards
8

SyntaxError

EOL while scanning a string literal

New cards

Explore top notes

note Note
studied byStudied by 13 people
716 days ago
5.0(1)
note Note
studied byStudied by 4 people
65 days ago
5.0(1)
note Note
studied byStudied by 18 people
647 days ago
5.0(2)
note Note
studied byStudied by 7 people
854 days ago
4.0(1)
note Note
studied byStudied by 6 people
694 days ago
5.0(1)
note Note
studied byStudied by 1 person
53 days ago
5.0(1)
note Note
studied byStudied by 21 people
555 days ago
5.0(1)
note Note
studied byStudied by 74 people
55 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (44)
studied byStudied by 20 people
792 days ago
5.0(1)
flashcards Flashcard (41)
studied byStudied by 3 people
694 days ago
5.0(3)
flashcards Flashcard (28)
studied byStudied by 40 people
72 days ago
5.0(1)
flashcards Flashcard (44)
studied byStudied by 33 people
482 days ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 16 people
266 days ago
5.0(1)
flashcards Flashcard (76)
studied byStudied by 5 people
633 days ago
5.0(1)
flashcards Flashcard (36)
studied byStudied by 21 people
264 days ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 62 people
33 minutes ago
5.0(1)
robot