PYTHON LESSON 1: Syntax (Part 1)

studied byStudied by 7 people
0.0(0)
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 5 people
... ago
5.0(1)
note Note
studied byStudied by 1213 people
... ago
5.0(9)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(1)
note Note
studied byStudied by 2736 people
... ago
4.8(12)
note Note
studied byStudied by 42 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (40)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (23)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (44)
studied byStudied by 32 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 4 people
... ago
5.0(2)
flashcards Flashcard (74)
studied byStudied by 20 people
... ago
5.0(2)
flashcards Flashcard (26)
studied byStudied by 46 people
... ago
5.0(1)
flashcards Flashcard (600)
studied byStudied by 3 people
... ago
5.0(2)
robot