Skip to content
KnowledgeCity

More Data Types

Discover common sequence types in Python and how to map characters to numbers
Preview the first lesson free — get full access to all 5 lessons.
Course: On-Demand
Beginner Provider John Crabtree  5 Lessons ·  19m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

These lessons begin by explaining how to use the two most common sequence types in Python: the string and the list. Strings, which are sequences of characters, employ the Unicode standard (which expands the much simpler ASCII standard) to represent nearly every alphabet in the world. A discussion of mapping characters to numbers is followed by example code. String formatting is covered using the format method of the string class and then the module concludes with a demonstration of the Python dictionary.

LEARNING OBJECTIVES:

What You'll Learn

  • Use the two most common sequence types in Python: the string and the list
  • Understand the purpose of the Unicode standard and how it expands the ASCII standard
  • Map characters to numbers when representing text
  • Apply the format method of the string class for string formatting
  • Work with Python dictionaries through dictionary basics

Key Takeaways

  • Strings and lists are the two most common sequence types in Python.
  • Strings are sequences of characters that use the Unicode standard, which expands the simpler ASCII standard, to represent nearly every alphabet in the world.
  • String formatting is performed using the format method of the string class.
  • The module concludes with a demonstration of the Python dictionary.

Frequently Asked Questions

What does this course cover?

It covers how to use Python's two most common sequence types, the string and the list, along with representing text using the Unicode and ASCII standards, mapping characters to numbers, string formatting with the format method of the string class, and Python dictionary basics.

What lessons are included?

The course includes String Basics, List Basics, Representing Text, String Formatting, and Dictionary Basics.

What skills will I gain from this course?

The course addresses skills including Python (Programming Language), Data Encoding, Encodings, Data Definition Language, Data Manipulation Language, and Data Format Description Language.

How is text represented in Python according to this course?

Strings are sequences of characters that employ the Unicode standard, which expands the simpler ASCII standard, to represent nearly every alphabet in the world, and the course discusses mapping characters to numbers followed by example code.