1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Python for Finance

Connected

Exercise

Creating numeric variables

Mastering variables is essential for effective coding and problem-solving in Python. By assigning values to variables, you can easily reference and update these objects throughout your code. This approach not only makes your code more organized and readable but also enhances its flexibility, allowing for quick adjustments and clear data handling.

Instructions

100 XP
  • Assign 229.23 to the variable revenue_1.
  • Assign 177.86 to the variable revenue_2.
  • Assign 89.95 to the variable revenue_3.