u/Wooden_Seaweed8973

I know this is basic question but please answer it,

PYTHON Is pop function used only to remove last element in a list or you can actually mention a particular index in parenthesis and remove it from the list from that particular position

My teacher argued that pop cannot be used to remove item from particular position

But she removed majority of my marks for this even though it is correct Edit: sorry I didn't know about documentation Plus I didn't have much time to get my answer sheets checked and get marks nor anyone if us had laptops with us so I just showed chatgpt answer 😔 I am very novice don't judge😔

reddit.com
u/Wooden_Seaweed8973 — 21 hours ago