Erstellt von Daniel Smillie
vor fast 7 Jahre
|
||
Frage | Antworten |
Variable | An item of data whose value could change while the program is being run. |
Declaration | The process of defining variables and constants in terms of their name and data type. |
Assignment | The process of giving a value to a variable or constant. |
Constant | The value of a constant is fixed for the duration of a program and cannot be changed. |
len(string) | Returns the length of a string. |
String.substring(index1, index2) | Returns a portion of a string inclusive of the characters at each index position. |
string.find(str) | Determines if str occurs in a string. Returns index if found and -1 otherwise. |
ord(“a”) | Returns the integer value of a character. |
chr(97) | Returns the character represented by an integer. |
Möchten Sie mit GoConqr kostenlos Ihre eigenen Karteikarten erstellen? Mehr erfahren.