Help me, seniors(Unsolved)

0

help me, seniors!

λͺ©λ‘ 보기
1/4

c.execute("SELECT * FROM users WHERE id=?", (3,))
print(c.fetchone())

If you can use well 'Tuple', know that maybe. My code is in the next line. I seem to need to study the concept of tuple more.😭

# ERROR
c.execute("SELECT * FROM users WHERE id=?", 3)
print(c.fetchone())

Can you explain about 'tuple'? πŸ™πŸ»

0개의 λŒ“κΈ€