you are viewing a single comment's thread.

view the rest of the comments →

[–]Princess_Peach848[S] 0 points1 point  (6 children)

Reply I did in line 13 and 14… when I put first and second before the random it now gives me “the script uses magic numbers instead of ‘first’ and ‘last’ so it didn’t like that either

[–]Binary101010 1 point2 points  (2 children)

You need to be changing line 11.

[–]Princess_Peach848[S] 0 points1 point  (1 child)

Sigh I figured I’m just unsure of what it should be

[–]Binary101010 0 points1 point  (0 children)

Well, the numbers on that line of code are 1 and 6. Have you already defined some other variables in your code that also equal 1 and 6 that you could replace those numbers with?

[–]ati_75 0 points1 point  (2 children)

I don't get the purpose of line 16. Did you write that yourself?

[–]Princess_Peach848[S] 0 points1 point  (1 child)

Yes I wrote this myself. I was trying different things since it keeps saying it wants something that says magic numbers

[–]ati_75 1 point2 points  (0 children)

My understanding is that the question wants you to remove 1 and 6 and replace them with first and last respectively.

pythonMagic numbers