Ask coding questions

← Back to all posts
Listh methods error
Dennissmain

i can not add list methods to my codes. any idea why? list like .append, .insert, is giving syntax error

Comments
hotnewtop
MrVoo

You keep forgetting a closing parentheses to close the print statement

Dennissmain

thank you for responding, i just did that and i am getting tuple object has no attribute 'insert' @MrVoo

NFadhlurrahman

@Dennissmain Lists are surrounded by square brackets, not round brackets.