Hi
please take a look in this link ---- Learn data science with Python and R projects
this is the code i wrote (changed a lot of stuff especially with the ‘’ sign for the title etc this is the “basic” code i wrote
"ask_posts = []
show_posts = []
other_posts = []
for row in hn:
** title = row[1]**
** if title.startswith(ask hn)**
** ask_posts.append(title)**
** elif (‘title’.startswith(‘show hn’))**
** show_posts.append(title)**
** else:**
** other_posts.append(title)**
print(ask_posts)
print(show_posts)
print(other_posts)"
Im sure it’s because the new methods of the code regarding the startswith and or lower not sure where im wrong
THANKS!