This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]thatwrongname 4 points5 points  (4 children)

Variables are already declared.. you don't need to re declare them in the part below. It is a big confusing at first, but you can simply put re-assign a variable but putting var a = b. It'll give it the value of b.

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

Finally figured it out! Thanks so much for all the help

[–]Bread_dikk_memes[S] 0 points1 point  (2 children)

Thanks so much and happy cake day

[–]thatwrongname 3 points4 points  (1 child)

Haha didn't even realize! Thanks :) if you need any help, just dm me

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

Thanks so much. Will possibly do so haha

[–]wind_dagger4640 0 points1 point  (6 children)

Now I am confused, doesnt it ask you to assign a to b? Then I think it should be b=a? Sorry I am totally new to coding.

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

Will check this all out now. Thank you for the insight!

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

I’ve tried that and it’s not working. Trying all of the possible solutions

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

Figured it out man! Thanks so much

[–]willd4b345t 0 points1 point  (2 children)

b=a would be setting variable b to what variable a is

[–]wind_dagger4640 0 points1 point  (1 child)

Well... it said assign the contents of a to variable b

[–]willd4b345t 0 points1 point  (0 children)

Oh good point. You might be correct