Python Flashcards
1
Q
How would you make it so that between spring in a print command have a comma
A
sep= “,” at the end
2
Q
How would you find the boolean value of something
A
bool()
3
Q
How would you get a user to send the computer their information
A
4
Q
What does the if elif else statement do
A
5
Q
how many indentions inside the body of a if
A
6
Q
how many elif statement can you have
A
7
Q
how would you check for an int before casting
A
8
Q
what are try and except blocks for
A
9
Q
what is a SyntaxError:
A
10
Q
what is a IndentationError:
A
11
Q
what is a * EOFError:
A
12
Q
what is a AssertionError
A
13
Q
what is a ValueError:
A
14
Q
what is a NameError: ?
A
15
Q
How do you make a function
A