Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Inventory Sorting Capstone Challenge | Variables and Types
Introduction to Python Video Course
course content

Contenido del Curso

Introduction to Python Video Course

Introduction to Python Video Course

1. Getting Started
2. Variables and Types
3. Conditional Statements
4. Other Data Types
5. Loops
6. Functions

Inventory Sorting Capstone Challenge

Great job mastering variables, data types, slicing, and concatenation!

Now, let's apply your new skills to a realistic scenario involving organizing new grocery store inventory.

Tarea

In this challenge, you are managing the inventory of a grocery store. You have a list of new items and their possible categories, along with their prices.

Your task is to organize this information, determine data types, and output formatted statements that list each item's price and category.

Objectives:

  1. Slice the strings into individual items and individual categories.
  2. Create variables to store the prices of each item:
    • The bubblegum_price has a value of $1.50.
    • The chocolate_price has a value of $2.00.
    • The pasta_price has a value of $5.40.
  3. Output formatted statements combining item names, prices, and categories.

Tarea

In this challenge, you are managing the inventory of a grocery store. You have a list of new items and their possible categories, along with their prices.

Your task is to organize this information, determine data types, and output formatted statements that list each item's price and category.

Objectives:

  1. Slice the strings into individual items and individual categories.
  2. Create variables to store the prices of each item:
    • The bubblegum_price has a value of $1.50.
    • The chocolate_price has a value of $2.00.
    • The pasta_price has a value of $5.40.
  3. Output formatted statements combining item names, prices, and categories.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 7
toggle bottom row

Inventory Sorting Capstone Challenge

Great job mastering variables, data types, slicing, and concatenation!

Now, let's apply your new skills to a realistic scenario involving organizing new grocery store inventory.

Tarea

In this challenge, you are managing the inventory of a grocery store. You have a list of new items and their possible categories, along with their prices.

Your task is to organize this information, determine data types, and output formatted statements that list each item's price and category.

Objectives:

  1. Slice the strings into individual items and individual categories.
  2. Create variables to store the prices of each item:
    • The bubblegum_price has a value of $1.50.
    • The chocolate_price has a value of $2.00.
    • The pasta_price has a value of $5.40.
  3. Output formatted statements combining item names, prices, and categories.

Tarea

In this challenge, you are managing the inventory of a grocery store. You have a list of new items and their possible categories, along with their prices.

Your task is to organize this information, determine data types, and output formatted statements that list each item's price and category.

Objectives:

  1. Slice the strings into individual items and individual categories.
  2. Create variables to store the prices of each item:
    • The bubblegum_price has a value of $1.50.
    • The chocolate_price has a value of $2.00.
    • The pasta_price has a value of $5.40.
  3. Output formatted statements combining item names, prices, and categories.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 7
toggle bottom row

Inventory Sorting Capstone Challenge

Great job mastering variables, data types, slicing, and concatenation!

Now, let's apply your new skills to a realistic scenario involving organizing new grocery store inventory.

Tarea

In this challenge, you are managing the inventory of a grocery store. You have a list of new items and their possible categories, along with their prices.

Your task is to organize this information, determine data types, and output formatted statements that list each item's price and category.

Objectives:

  1. Slice the strings into individual items and individual categories.
  2. Create variables to store the prices of each item:
    • The bubblegum_price has a value of $1.50.
    • The chocolate_price has a value of $2.00.
    • The pasta_price has a value of $5.40.
  3. Output formatted statements combining item names, prices, and categories.

Tarea

In this challenge, you are managing the inventory of a grocery store. You have a list of new items and their possible categories, along with their prices.

Your task is to organize this information, determine data types, and output formatted statements that list each item's price and category.

Objectives:

  1. Slice the strings into individual items and individual categories.
  2. Create variables to store the prices of each item:
    • The bubblegum_price has a value of $1.50.
    • The chocolate_price has a value of $2.00.
    • The pasta_price has a value of $5.40.
  3. Output formatted statements combining item names, prices, and categories.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Great job mastering variables, data types, slicing, and concatenation!

Now, let's apply your new skills to a realistic scenario involving organizing new grocery store inventory.

Tarea

In this challenge, you are managing the inventory of a grocery store. You have a list of new items and their possible categories, along with their prices.

Your task is to organize this information, determine data types, and output formatted statements that list each item's price and category.

Objectives:

  1. Slice the strings into individual items and individual categories.
  2. Create variables to store the prices of each item:
    • The bubblegum_price has a value of $1.50.
    • The chocolate_price has a value of $2.00.
    • The pasta_price has a value of $5.40.
  3. Output formatted statements combining item names, prices, and categories.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 2. Capítulo 7
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt