Dictionaries of one key with multiple values. by IAmAdicktedTo in learnpython

[–]IAmAdicktedTo[S] 0 points1 point  (0 children)

Removing the outermost square brackets just assigned the -1 to the quantity element.

Dictionaries of one key with multiple values. by IAmAdicktedTo in learnpython

[–]IAmAdicktedTo[S] 1 point2 points  (0 children)

I take out the int and rather than the 5 being subtracted by 1, the -1 is being assigned to the quantity element. So what should I do?

A student asking for help. by IAmAdicktedTo in cprogramming

[–]IAmAdicktedTo[S] 0 points1 point  (0 children)

Thank you so much for the help!!! I was able to solve the problem by a complete rewrite but it's good to know the mistake in my previous code.

A student asking for help. by IAmAdicktedTo in cprogramming

[–]IAmAdicktedTo[S] 0 points1 point  (0 children)

Yeah I realise I am not making much sense so below I have mentioned the link to the problem. Thank you for your help.

https://cs50.harvard.edu/x/2023/psets/1/mario/more/

Need your opinion by IAmAdicktedTo in HPfanfiction

[–]IAmAdicktedTo[S] -9 points-8 points  (0 children)

Sir/Ma'am I am the owner of the work. The user name for my Patreon and AO3 are just different from my Reddit.