1/9
These flashcards cover fundamental concepts and syntax in Python programming as discussed in the lecture.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
What does IDE stand for?
Integrated Development Environment.
What is the operator for not equal to in Python?
!=.
What value will the expression 10//3 return?
3.
What value does the expression 21%6 return?
3.
Is Python case sensitive?
No, Python is not case sensitive.
What is the first interest rate returned for a credit score below 650?
4.25% as a float.
What interest rate is returned for a credit score of 650 or above?
3.25% as a float.
What is the correct syntax for comparison in Python?
Use '==' for equality comparison.
How are the floating point interest rates stored in the code?
As strings in a list named APR.
What is a common error when checking credit scores in conditional statements?
Not using the correct comparison operator or syntax.