Question: 1. (A) String literals: can be enclosed in either single or double quotes must precede numeric literals must be grouped by capitalization all of the
1. (A) String literals:
| can be enclosed in either single or double quotes | ||
| must precede numeric literals | ||
| must be grouped by capitalization | ||
| all of the above |
(B) Python file names use the file name extension of:
| py | ||
| pi | ||
| .exe | ||
| .prg |
(C)The value from an input statement -- even a number -- is treated as a string.
True
False
(D) More complex languages, such as C++ and Java, have quite a few data types. Python, on the other hand, has very few data types.
True
False
(E) Unlike other programming languages, Python automatically chooses a data type for you based on the value you have assigned to the variable.
True
False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
