Python Introducing Lists Using Lists Continental

Baitsheletse Thokwana
Baitsheletse Thokwana
1,903 Points

Hey guys i need help with this challenge

The output is supposed to be like this

  • Asia
  • South America
continents.py
continents = [
    'Asia',
    'South America',
    'North America',
    'Africa',
    'Europe',
    'Antarctica',
    'Australia',
]
# Your code here

print(continents)
for conti in continents[0:2]:
    print("* {}".format(conti))

1 Answer

Baitsheletse Thokwana
Baitsheletse Thokwana
1,903 Points

continents = [ 'Asia', 'South America', 'North America', 'Africa', 'Europe', 'Antarctica', 'Australia', ]

Your code here

print(continents) for conti in continents: print("* {}".format(conti))