Out of this world

Report a typo

Choose all correct statements regarding the code below.

class Alien:
    count = 0
    places = []    

    def __init__(self, planet, species):
        self.planet = planet
        self.species = species


mart = Alien("Mars", "martian")
mart.places.append("Mars")
mart.count += 1

dalek = Alien("Skaro", "dalek")
dalek.places.append("Skaro")
dalek.count += 1

Alien.count += 2
Select one or more options from the list
___

Create a free account to access the full topic