type-error

TypeError error: 'int' object is not subscriptable

I'm starting to learn python, I ran into a problem like TypeError: 'int' object is not subscriptable. I ask for help, because ... ] + s[k]) % 4 if a[r] < (b[p] + s[k]): a = b[p] + s[k] b = a print(max(a[1], a[2], a[3]))

TypeError error: 'float' object cannot be interpreted as an integer in range

I don't understand something. Here I just want to derive the root from a (code below): def root(a): s=() for i in ra ... bject cannot be interpreted as an integer Why does this exception occur, and how do I fix the error? Thank you in advance!

Data type error: "ValueError: parameters are of unsupported type"

There is a column guildToken of type TEXT, and I'm trying to get a value from it: pyguild = (ctx.guild.id,) cur.execute( ... rBotForDiscord-master\helper.py", line 163, in checkDB print(cur.execute( ValueError: parameters are of unsupported type

Economic bot Discord TypeError: 'NoneType' object is not subscriptable

I write an economic bot on discord here is the code: import discord from discord.ext import commands import sqlite3 from con ... nds.errors.CommandInvokeError: Command raised an exception: TypeError: 'NoneType' object is not subscriptable Please help me