How to complete Reassign in a Single Line lesson, please help me!


#1

How to complete Reassign in a Single Line lesson, please help me !!

Reassign meal on line 7!

meal = 44.50
tax = 0.0675
tip = 0.15

meal = 30


#2

The instructions say:

On line 7, reassign meal to the value of itself + itself * tax. And yes, you're allowed to reassign a variable in terms of itself!

Did you see the part where it says: itself + itself * tax in the instructions? That's an example of what it should look like after meal variable. If you need more help, let me know. :slight_smile:


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.