Save
ict
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Real
Visit profile
Cards (26)
are used to store up data for later use -
variables
2. used to make the user input something in the console -
input()
3. used to display something in the console -
print(
)
4. the name of the variables which the user decides to choose -
identifiers
5. a technique used to convert a datatype to another datatype -
casting variables
6. used to perform mathematical operations inside our programming language -
arithmetic operators
7. a read and write collection of variables that may be used to sort certain data -
lists
8. you can read a list by printing the whole list -
reading
whole
lists
9. you can read a list by print one of the items inside it by using an index -
reading
lists
items
10. the number of where an item is on a collection -
index
11. you can read a lists range of items by specifying a range of index -
reading lists range
12. you can assign a list item by using an index and an assignment operator -
assigning
list
items
13. you can check the number of items in a list by using the len() function -
list
length
14. you can count how many times an items occurs in a list by using the count() function -
List
count
15. append() adds items at the end of the list -
list
add items
by
append()
17. pop() deletes an item based on their index but if index is not specified it delete the last item -
list
deleting
items
by
pop()
18. del deletes an item based on their index but if index is not specified it deletes 2 points the whole list -
list
deleting
items
by
del
19. clear() deletes all the value in a list -
clearing
the
list
20. copy() copies the whole list which an be assigned to a new list -
copying
a
list
21. you can use + operator to combine list -
combining
list
by
adding
22. combines list by appending the specified list to the end of the first list -
extend
(
)
23. reverse the order of the lists items -
reverse
(
)
24. sort's a lists items by alphabet or value depending on the datatype -
sort
(
)
25. a list inside a list also known as sublist -
nested lists
26. a read only collection of variables that may be used to sort certain data -
tuples
27. remove() deletes an items based on their value -
list deleting items by remove()