# The smae code with the lecture 'classes 10' but not wroking

**URL:** https://forum.codewithmosh.com/t/the-smae-code-with-the-lecture-classes-10-but-not-wroking/17556
**Category:** Python
**Created:** [January 9, 2023, 9:18pm UTC](https://forum.codewithmosh.com/t/the-smae-code-with-the-lecture-classes-10-but-not-wroking/17556 "2023-01-09T21:18:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MapleLai](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@MapleLai](https://forum.codewithmosh.com/u/MapleLai)
#### Post date: [January 9, 2023, 9:18pm UTC](https://forum.codewithmosh.com/t/the-smae-code-with-the-lecture-classes-10-but-not-wroking/17556/1 "2023-01-09T21:18:47Z")

</div>

Does anyone can tell me what is going on? Please

 ![Desktop Screenshot 2023.01.10 - 05.17.54.53](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/e/e5dc3b8a5dcfc9e74624b7ace512f615c9a2f4d6.png)

---

<div class="post-metadata">

### Author: ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)
#### Post date: [January 10, 2023, 5:22am UTC](https://forum.codewithmosh.com/t/the-smae-code-with-the-lecture-classes-10-but-not-wroking/17556/2 "2023-01-10T05:22:35Z")

</div>

Its complaining about your expression inside the print parethesis on line 25 after the dot

---

<div class="post-metadata">

### Author: ![MapleLai](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@MapleLai](https://forum.codewithmosh.com/u/MapleLai)
#### Post date: [January 10, 2023, 3:12pm UTC](https://forum.codewithmosh.com/t/the-smae-code-with-the-lecture-classes-10-but-not-wroking/17556/3 "2023-01-10T15:12:51Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/7/74c6700530f39c5690bf4d950c73ca3eeee413cd.png)  
It’s nameeror now
