JCL

FEUP/DEI & INESC TEC

User Tools

Site Tools


teach:fpro:lectures:08

LE08: 05/11/2020

Master in Informatics and Computing Engineering
Programming Fundamentals
Instance: 2020/2021


Lecture #8 :: 05/11/2020

Goals

By the end of this class, the student should be able to:

  • Describe how to work with tuples
  • Enumerate the main methods available to work with tuples

Content

  • 5.2 Data types: Tuples
    • 5.2.1 Tuples are used for grouping data
    • 5.2.2 Tuple assignment
    • 5.2.3 Tuples as return values
    • 5.2.4 Composability of Data Structures
    • Tuple operations

Bibliography

  • Peter Wentworth, Jeffrey Elkner, Allen B. Downey, and Chris Meyers, How to Think Like a Computer Scientist — Learning with Python 3, Release 3rd Edition, 2020 [PDF] (Section 5.2)

Materials

Summary

  • Tuples. Working with tuples. Operations with tuples. Tuples are immutable.

FPRO, 2020/21

« Previous | Index | Next »

teach/fpro/lectures/08.txt · Last modified: 03/01/2021 17:40 by Correia Lopes