KwickClips Python
Python: 204 short revision clips (page 2)
One idea per clip, with the answer written out underneath. Each clip links back to the full Python lesson it came from.
Does the inner loop restart each row?43 sec
What decides how many stars a row has?41 sec
How many trace lines do you write?43 sec
Is 1 a prime number?39 sec
MUMBAI has six letters. Is the last one at index 6?46 sec
Can you reverse a string without a loop?41 sec
What does * do to a string?42 sec
How do you check each letter of a word?37 sec
Can you change one letter of a string?41 sec
What is the difference between capitalize() and title()?40 sec
What does find() return if the text is not found?42 sec
Why is "Riya Shah".isalpha() False?44 sec
What is the opposite of split()?44 sec
How do you check a palindrome in Python?41 sec
Is a Python list mutable?43 sec
Why does nums[1:3] give only two items?42 sec
What does [0] * 3 give?42 sec
Can a list hold other lists?42 sec
Why did the original list change?43 sec
Why did append give a nested list?45 sec
What is the difference between remove() and pop()?46 sec
Why does print(marks.sort()) show None?40 sec
How do you find an average without a loop?41 sec
Why did marks become None?41 sec
Why not start at 0?40 sec
Where does linear search start?41 sec
What does get(r, 0) do?40 sec
What does p hold in the loop?43 sec
Why did changing an item give a TypeError?43 sec
Can you join two tuples?45 sec
Is it a mistake that sorted() gives a list?45 sec
How do you swap two variables in Python?40 sec
What does -1 mean in this program?43 sec
How do you find a price by name in Python?41 sec
How does Python know whether to add or change?44 sec
Why does my dictionary loop print only names?39 sec
Which dictionary method avoids a KeyError?42 sec
How does get() help count letters?40 sec
Why is the length of {3, 1, 3, 2, 1} three?42 sec
Which operator finds items in both sets?46 sec
Which set method can crash on a missing item?43 sec
Why use a set instead of a list?43 sec
What is reuse?43 sec
Why does square root need import?41 sec
Can a Python function return two values?44 sec
Does the def line run the function?43 sec
What does si(10000, 5, 2) return?39 sec
Are parameters and arguments the same?39 sec
