Python Quiz Intro, Variables, and Data Types Flashcards
T/F
Python is case sensitive.
True
T/F
Python has a strong and active development community.
True
T/F
Python is a powerful low level programming language that allows you to interact with the CPU.
False
To signify the end of a line of python code you use
\n
T/F
Python may be installed on MacOS, Windows, and Linux Operating Systems
True
If you wanted to add a tab in a string, you would need to use the following:
\t
T/F
You may use single quotes, or double quotes around characters to make a string.
True
A variable is ____________________________________.
a placeholder used to hold or represent a value
If you wish to capitalize the first letter of each word in a string in python you would use the ____________ string method.
title()
A String is _________________________.
one or more characters
If you wanted to start a new line in a string, you could insert a ______.
\n
Number data type includes ______________ and ________________types of numbers.
integer, float
The value of x is ___________________.
x=5*4
20
The value of x is _______________________.
x=6%3
0
In Python, when you divide an integer by an integer, you end up with an _____.
float