Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
make 6/4 equal 1.5 without writing 6.0 or 4.0 |
|
Definition
|
|
Term
assign two variables at the same time |
|
Definition
|
|
Term
find the third letter in string = "Chris" |
|
Definition
|
|
Term
find out number of char. in string = "Chris" |
|
Definition
|
|
Term
return "ris" from string = "Chris" |
|
Definition
string[2:] or string [2:5] |
|
|
Term
return "Chr" from string = "Chris" |
|
Definition
|
|
Term
print characters of string in a list |
|
Definition
for achar in string print achar |
|
|
Term
center a string in a certain amount of spaces |
|
Definition
|
|
Term
return the number of occurences of certain item in string |
|
Definition
|
|
Term
return string in all uppercase |
|
Definition
|
|
Term
return string in all lowercase |
|
Definition
|
|
Term
returns the index of first occurrence of item in string |
|
Definition
|
|
Term
splits string at certain character |
|
Definition
|
|
Term
split sentence string between words |
|
Definition
|
|
Term
split sentence string between words making a list |
|
Definition
|
|
Term
|
Definition
[item1, item2] + my list + [item3 + item4 + item5] |
|
|
Term
convert string "Chris" to "ChrisChrisChris" |
|
Definition
|
|
Term
convert list [2, 4, 5] to list [2, 4, 5, 2, 4, 5] |
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
from list [2, 4, 5, 7, 9, 10] return [5, 7, 9] |
|
Definition
|
|
Term
|
Definition
|
|
Term
put new item in n.th spot in list |
|
Definition
|
|
Term
removes and returns last item of list |
|
Definition
|
|
Term
removes and returns n.th item from list |
|
Definition
|
|
Term
|
Definition
|
|
Term
put list in backwords order |
|
Definition
|
|
Term
remove item in n.th position |
|
Definition
|
|
Term
return index of first occurence of item |
|
Definition
|
|
Term
returns the number of occurrences of an item in a list |
|
Definition
|
|
Term
remove first occurrence of item from list |
|
Definition
|
|