Problem with print command

Screen Link: Replace this text with the URL to the screen you’re working on

Your Code: Enclose your code in 3 backticks like this to format properly: your code

variable_2 = 2.5

variable_1 += 6.5
variable_2 *= 2


What I expected to happen: Hi I am trying to do step #6 of the Variables and Data types (Integers and Floats)
Keep getting errors

What actually happened: ```wrap your code in triple backticks``` to format properly
```TypeErrorTraceback (most recent call last)
<ipython-input-1-65934d00fe40> in <module>()
      5 variable_2 *= 2
----> 7 print(variable_1)
      8 print(variable_2)

TypeError: 'float' object is not callable```
Other details: my code looks exactly the same as the answer code?

Please consult some of the other 30+ similar questions to find an answer and increase understanding.

If you just want a fix, including del print at the top of your code should fix it.

1 Like

Thanks foe the quick response…

1 Like