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

Зміст курсу

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.

Завдання

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 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.

Завдання

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 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.

Завдання

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 7
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt