stars must be printed at the positions i have used but invalid syntax error is coming
# printing star in a heart shape format
for row in range(0,6):
for colu in range(0,7):
if row==0 and colu%3!==0:
print('*',end=='')
elif row==1 and colu%3==0:
print('*',end=='')
elif row-colu==2:
print('*',end=='')
elif row+colu==8:
print('*',end=='')
else:
print(' ',end=='')