needed_list = []
count = '* '
for i in range(18):
if i % 2 == 0:
needed_list.append('')
else:
needed_list.append(count)
count += '* '
for j in needed_list:
print(j.strip())
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment