hands-on tutorial

Python - Basic Types & Type Conversion

The questions this addresses are:
- What kinds of data do programs store?
- How can I convert one type to another?

The objectives are:
- Explain key differences between integers and floating point numbers.
- Explain key differences between numbers and character strings.
- Use built-in functions to convert between integers, floating point numbers, and strings.

Licence: Creative Commons Attribution 4.0 International

Keywords: Foundations of Data Science, jupyter-notebook

Target audience: Students

Resource type: hands-on tutorial

Version: 3

Status: Active

Learning objectives:

Explain key differences between integers and floating point numbers.
- Explain key differences between numbers and character strings.
- Use built-in functions to convert between integers, floating point numbers, and strings.

Date modified: 2023-02-13

Date published: 2022-04-25

Authors: Bazante Sanders, Donny Vrins, Helena Rasche, The Carpentries

Contributors: Bazante Sanders, Donny Vrins, Helena Rasche, The Carpentries

Scientific topics: Software engineering

External resources:

Activity log