Ask coding questions

← Back to all posts
Help me regarding this I watched these commands on YouTube client.run(os.getenv('TOKEN'))
namanpathak (0)

But at last os.getenv('TOKEN'))
^
THIS LAST LETTER THEY ARE DENYING THAT IT IS WRONG PLZ HELP ME WHAT I DO HERE

Comments
hotnewtop
InvisibleOne (2938)

Well, did you use tabs or spaces for the indentation in your code? Make sure that line is using tabs/spaces to match everything else, as Wumi said you also need to make the token names all Caps.

namanpathak (0)

[email protected] well i understood to caps the token but still confused where to put spaces could u mark for me plz

namanpathak (0)

@InvisibleOne plz help I am in a trouble

InvisibleOne (2938)

remove the space in front of your line 18 @namanpathak

Wumi4 (531)

Chill, no need to yell at us (write all caps) like that. The problem is because the indentation of line 18 is inconsistent with other lines. Simply put a space before it.

namanpathak (0)

@Wumi4 sir I put space no progress maybe a wrong position plz make a mark where I put a space

Wumi4 (531)

@namanpathak Just put a space before the code on line 18. For example:

# This is the code
print("Hi")

# This is the code with one more space before it.
 print("Hi")

# See the difference?
namanpathak (0)

@Wumi4
see bro plz now it is not showing anything