Conteúdo do Curso
Introduction to Python Video Course
Introduction to Python Video Course
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.
Tarefa
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:
- Slice the strings into individual items and individual categories.
- 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
.
- The
- Output formatted statements combining item names, prices, and categories.
Tarefa
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:
- Slice the strings into individual items and individual categories.
- 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
.
- The
- Output formatted statements combining item names, prices, and categories.
Tudo estava claro?
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.
Tarefa
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:
- Slice the strings into individual items and individual categories.
- 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
.
- The
- Output formatted statements combining item names, prices, and categories.
Tarefa
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:
- Slice the strings into individual items and individual categories.
- 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
.
- The
- Output formatted statements combining item names, prices, and categories.
Tudo estava claro?
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.
Tarefa
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:
- Slice the strings into individual items and individual categories.
- 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
.
- The
- Output formatted statements combining item names, prices, and categories.
Tarefa
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:
- Slice the strings into individual items and individual categories.
- 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
.
- The
- Output formatted statements combining item names, prices, and categories.
Tudo estava 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.
Tarefa
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:
- Slice the strings into individual items and individual categories.
- 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
.
- The
- Output formatted statements combining item names, prices, and categories.