Name: ___________________________________________________________________
Python Programming
1 2
3 4 5 6
8 9
10 11
12 13 14
15 16
17 18 19
20 21
22 23
24
25 26 27
28 29 30
31 32 33
34
Across 28. Terminates a loop statement and transfers execution 11. To remove a list element, you can use either the
2. The ___________ symbol is used to assign values to to the statement immediately following the loop. _____________ statement if you do not know.
variables. 30. A ________________ statement allows us to execute 15. Words you cannot use as constant or variable or any
3. Returns true if a unicode string contains only numeric a statement or group of statements multiple times other identifier names.
characters and false otherwise. 31. __________________ data types store numeric 16. ________________________ are identified as a
4. An ______________ statement consists of a boolean values. They are created when you assign a value to them. contiguous set of characters represented in the quotation
expression followed by one or more statements. 32. Logical Operator that evaluates to true If any of the marks.
5. Replaces all occurrences of old in string with new or operands are true then condition becomes true. 19. Determine if str occurs in string or in a substring of
at most max occurrences if max given. 33. Removes all trailing whitespace of string. string if starting index beg and ending index end are given
8. A ______________________ contains items separated 34. Type of language used to communicate with returns index if found and -1 otherwise.
by commas and enclosed within square brackets ([]). computers 20. Use one if or else/if statement inside another if or
12. Another sequence data type that is similar to the list. Down else/if statement(s).
It of a number of values separated by commas. 1. Statement that causes the loop to skip the remainder 21. Designated by [ ] in a string to indicate the specific
13. Arithmetic operator that divides left hand operand by of its body and immediately retest its condition prior to position of a character.
right hand operand and returns remainder reiterating. 23. A hash sign (#) that is not inside a string literal begins
14. Converts all uppercase letters in string to lowercase. 6. Logical Operator that evaluates to true If both the a __________________.
17. Merges (concatenates) the string representations of operands are true then condition becomes true. 24. To remove a list element, you can use either the
elements in sequence seq into a string, with separator 7. Loop that repeats a statement or group of statements ____________ statement if you know exactly which
string. while a given condition is TRUE. It tests the condition element(s) you are deleting.
18. Logical Operator that evaluates to false If condition before executing the loop body. 26. Converts lowercase letters in string to uppercase.
evaluates to true. 9. Determines if string or a substring of string (if starting 29. _______________ loop executes a sequence of
22. String operation indicated by "1" + " 2" index beg and ending index end are given) ends with statements multiple times and abbreviates the code that
suffix; returns true if so and false otherwise. manages the loop variable.
25. Membership operator that evaluates to true if it finds
a variable in the specified sequence and false otherwise. 10. The ____________________ allows multiple
27. Returns true if string has at least 1 cased character statements on the single line given that neither statement
and all cased characters are in lowercase and false starts a new code block
otherwise.