Notes in Level 2: Level 2.1 Textual Data

To Subscribe, use this Key


Status Last Update Fields
Published 05/03/2024 A classification for data i.e. string, integer, floating point number etc. Determines possible values and what you can do with that data.
Published 05/03/2024 A whole number. No decimal point. 3, 25, 89 etc.
Published 05/03/2024 A number with a decimal point. 5.67, 2.456 etc.
Published 05/03/2024 Converts data to floating point numbers.
Published 05/03/2024 An Instruction. Frequently added on to other commands or variables and connected with a period/full-stop i.e. text.upper() or print(msg.upper())
Published 05/03/2024 A bunch of prewritten code that you can import and use in your own program.
Published 05/03/2024 A series of characters.
Published 05/03/2024 The 2 pieces of info a computer uses to keep track of the characters in a string.
Published 05/03/2024 Returns a single character (index value 15) from string s.
Published 05/03/2024 Returns a group of characters (substring) from within larger string s, starting with character at index position 124 and up to (but not including) cha…
Published 05/03/2024 A string within a string.
Published 05/03/2024 Converts string s to UPPERCASE.
Published 05/03/2024 Find if 'eggs' is at end of s = "I like eggs"
Published 05/03/2024 Converts string s to lowercase.s = "The quick brown fox jumped over Dick Cheney."
Published 05/03/2024 Returns a copy of string s with all occurances of old word replaced with new word.s = 'i like eggs. I like eggs.'old_word = 'eggs'new_word = 'ham'
Published 05/03/2024 Returns copy of string s with leading and trailing whitespace removed.s = "   hi         "
Published 05/03/2024 Returns first index value when your specified word, character, or substring is found.s = "Hello, I'm happy to meet a fine person like you"w = "fi…
Published 05/03/2024 Test if 'I like' is at the begining ofs = "I like eggs."
Published 05/03/2024 Imports the time library. Use at beginning of code.
Published 05/03/2024 Tells you current UTC data/time.
Published 05/03/2024 Tells you current local time (affected by time zone).
Published 05/03/2024 Do nothing for 5 seconds
Status Last Update Fields