{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# average grades for ISEG programs 2020\n", "\n", "economia=164.0\n", "gestao=167.5\n", "maeg=187.5\n", "management=167.0\n", "economics=162.5\n", "finance=160.0\n" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "# create a list (listEconomics) with average grades of economics programs\n", "# the list will have as elements the average grade of economia\n", "# and average grade of economics\n", "\n", "\n" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "#create a list (listManagment) with average grades of managment programs\n", "# the list will have as elements the average grade of managment,\n", "# the average grade of finance and average grade of gestao\n", "\n", "\n", "\n" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "# create a list (listMathmatics) with average grades of mathmatics programs\n", "# the list will have as elements the average grade of maeg\n", "\n", "\n" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "#What is the purpose of using extend? Create a new list with the \n", "# privouslists (listEconomics, listManagment,listMathmatics ) using extend and called listAll1\n", "\n", "\n" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "#What is the purpose of using append? Create a new list with the \n", "# privouslists (listEconomics, listManagment,listMathmatics ) using append and called listAll2\n", "\n", "\n" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [], "source": [ "#How many elements does listAll2 have?\n", "\n" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [], "source": [ "#How many elements does listAll1 have?\n", "\n" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [], "source": [ "#What is the average grade if all the courses have the same weight\n", "\n", "\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" } }, "nbformat": 4, "nbformat_minor": 2 }