stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
python 1 Flashcards | StudBud
Explore
/
python 1
python 1
10 terms
·
StudBud Administration
·
6 plays
python basics
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
What special characters are needed to substitute a variable with f-strings?
[ ]
( )
{ }
#
2
The
def
keyword is required to define a function:
False
True
3
What is python?
type of snake (also an interpreted programming langugage)
An interpreted programming language.
idk
A compiled programming language
4
A
float
has
decimcal
notation
True
False
5
Which are
two types
of
loops
built into python?
do loops
if loops
for loops
while loops
6
An
integer
is a
whole
number
False
True
7
Which of the following are
NOT
a valid
data type
in python
float
str
int
num
8
A
program
is a
set of instructions
telling the computer what to do
True
False
9
What character is used to start a
comment
in python?
$
//
*
#
10
A
string
is a number
False
True