Thanks to visit codestin.com
Credit goes to github.com

Skip to content

veronicadeleonh/lab-python-data-structures

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo_ironhack_blue 7

<<<<<<< HEAD

LAB | Flow control

Learning Goals

This exercise allows you to practice and apply the concepts and techniques taught in class.

Upon completion of this exercise, you will be able to:

  • Use if-else statements to control the flow of execution in a program based on conditions.
  • Use loops to repeat actions in a program.
  • Combine if-else statements and loops to create more complex programs.
  • Apply flow control statements to solve real-world programming problems. =======

LAB | Python Data structures

Learning Goals

This exercise allows you to practice and apply the concepts and techniques taught in class.

Upon completion of this exercise, you will be able to:

  • Use different data structures such as lists, dictionaries, sets and tuples, to store and manipulate data.
  • Access and modify data stored in data structures using indexing, slicing, or built-in methods.

03971354697d829f791bb4f85dc86a57696c591f



<<<<<<< HEAD

Prerequisites Before starting this lab, you should have learnt about:
  • Data types, operators and structures
  • Flow control (if-else statements and loops) =======

Prerequisites

Before this starting this lab, you should have learnt about:
  • Basic Python syntax
  • Variables
  • Data types, operators and structures

03971354697d829f791bb4f85dc86a57696c591f



Introduction

<<<<<<< HEAD In this lab, you will practice how to use control structures to control the flow of a program's execution. Control structures are essential to programming as they enable the execution of a program to follow specific paths based on certain conditions. In this lab, you will practice writing code with various control structures, including if-else statements and loops.

By the end of the lab, you should be able to identify situations that require the use of flow control, select the appropriate construct(s) to use, and write code that executes correctly and efficiently. You will also gain practical experience in coding, debugging, and testing programs that use flow control statements. This lab is designed for learners who are familiar with basic Python syntax and data types and are ready to expand their programming skills by learning how to control the flow of their programs.

This lab builds upon the solution from the previous exercise and enhances it by incorporating flow control mechanisms to create more robust and improved code.

Welcome to your first data analytics bootcamp lab! In this lab, you will have the opportunity to dive into one of the fundamental building blocks of Python programming: data structures.

As you may already know, data structures are collections of values that can be used to organize and manipulate data more efficiently, such as lists, dictionaries, sets, and tuples.

Understanding data structures is essential to working with data in any programming language. It is a common practice to modify or manipulate data structures when performing various operations, such as filtering data, performing calculations, or extracting specific data elements.

Through a series of lab exercises, you will have the opportunity to apply the concepts and techniques learned in class and gain a solid understanding of data structures.

03971354697d829f791bb4f85dc86a57696c591f


Happy coding! ❤️

<<<<<<< HEAD

03971354697d829f791bb4f85dc86a57696c591f

Requirements

  • Fork this repo
  • Clone it to your machine

Getting Started

Complete the challenges in the notebook. Follow the instructions and add your code and explanations as necessary.

Submission

  • Upon completion, run the following commands:
git add .
git commit -m "Solved lab"
git push origin master
  • Paste the link of your lab in Student Portal.

FAQs

I am stuck in the exercise and don't know how to solve the problem or where to start.

If you are stuck in your code and don't know how to solve the problem or where to start, you should take a step back and try to form a clear question about the specific issue you are facing. This will help you narrow down the problem and come up with potential solutions.

For example, is it a concept that you don't understand, or are you receiving an error message that you don't know how to fix? It is usually helpful to try to state the problem as clearly as possible, including any error messages you are receiving. This can help you communicate the issue to others and potentially get help from classmates or online resources.

Once you have a clear understanding of the problem, you will be able to start working toward the solution.

Back to top

I am unable to push changes to the repository. What should I do?

There are a couple of possible reasons why you may be unable to push changes to a Git repository:

  1. You have not committed your changes: Before you can push your changes to the repository, you need to commit them using the git commit command. Make sure you have committed your changes and try pushing again. To do this, run the following terminal commands from the project folder:
git add .
git commit -m "Your commit message"
git push
  1. You do not have permission to push to the repository: If you have cloned the repository directly from the main Ironhack repository without making a Fork first, you do not have write access to the repository. To check which remote repository you have cloned, run the following terminal command from the project folder:
git remote -v

If the link shown is the same as the main Ironhack repository, you will need to fork the repository to your GitHub account first and then clone your fork to your local machine to be able to push the changes.

Note: You should make a copy of your local code to avoid losing it in the process.

Back to top

<<<<<<< HEAD =======

03971354697d829f791bb4f85dc86a57696c591f

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%