Files
miyaliu666 3ea2fe4f77 feat(i18n,curriculum): add Bilibili ids for Chinese (#43564)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 09:54:12 +05:30

583 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e7b9f160b6c005b0e76f086 Objects: A Sample Class 11 FiABKEuaSJ8
aid bvid cid
589451777 BV1rq4y1X7TG 377523194
objects-a-sample-class

--question--

--text--

What will the following program print?:

class PartyAnimal:
    x = 0
    def party(self):
        self.x = self.x + 2
        print(self.x)

an = PartyAnimal()
an.party()
an.party()

--answers--

So far 1
So far 2

0
0

2
2

2
4

--video-solution--

4