2 different parts of my code don't work because there is no argument apparently

**Question:**I don’t know what’s wrong with my code , I’ve tried going over it for ages but it still comes up with the same errors and I don’t know why , am making a blackjack game for reference. “Card () takes no argument” Please can someone help.

Current behavior:

Desired behavior

Repl link:

code snippet

Line 5 says
def __int__(self, suit, rank):
It should be
def __init__(self, suit, rank):

Not sure if this is the issue just saw this.


^^^ that’s probably it

1 Like

Thanks you sm Jace Billingsley, by any chance you know why certain words that are meant to be blue in the code are still gray because am still facing issues with this.

1 Like

Create your own theme and see if you can get what you want blue

1 Like

what does that mean and how do I do it to my code ?

1 Like

follow the link and you’ll see :slightly_smiling_face:

1 Like

Only special words are blue, or whatever color your theme sets them to as @UMARismyname said. So either you’re misspelling them or they are not a special word. Grey words I think are not keywords, but common functions.

1 Like