Keyword | Definition |
---|---|
= | operator used to assign a string to be stored in a variable |
== | operator which can compare two strings to see if they are identical |
character | a single letter, numerical digit, punctuation mark or space |
concatenate | joining together two strings with the + operator to make one new, longer string |
index | the position within a string (where 0 is the first character) |
len | built in python function which can work out how long a string is by counting all of the characters |
lower | a method that can be called for any string which converts each character into lowercase letters |
string | a type of data which is made up of zero or more characters |
substring | a smaller part of a string (for example one or more characters in a sentence) |
upper | a method that can be called for any string which converts each character into uppercase letters |
variable | a named memory location that can be used to store strings or other data |