PS5,I swear this ran correctly but I have done something stupid(well,obviously just in what manner)while saving or cut/paste, I don't know and it is too much for me to figure out.Now when 'n' is entered to start game, it just reprompts to enter n,r, e.I was doing PS6 but cannot test without this running.Thank you
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
lines 191 and 219 look funny
I am staring at those lines and nearby. That is just commentary. Sorry, I am blind and stupid. I warned you. I would even take any working version of PS5 just to add the code for PS6.I don't think I could just edit the necessary functions and have someone be able to tell if it is correct, could I?
The lines that bwCA talks about are not commentaries. Look again and you will see that you define the play_hand function two times.
Not the answer you are looking for? Search for more explanations.
Codepad not working but thought those were comment lines on that link.But I see the double.That is from some cut/paste and I was wondering why I had to fix the formatting.For PS6 #1&2,I have this,can you tell me WHY line 31 is no good regarding use of '='?I want to understand,it will not run so I could see what happens.Thank you both very much or tell me if I should post this separately.
= is an assignment operator
== is a comparison operator
I am really bad and confused easily.Thanks.Fixed and added a few things,seems to run,correctly,with all features.
In line 51 why can that not be just else? I had it there and it would not print TIME EXCEEDED,basically not recognizing and going through. 'if' is just > and then I figured 'else' would imply anything when that condition not met.What am I not getting?In this case,we know I don't get way too much.
else should work at line 51 - if you want those statements to execute for any condition other than what is in the if clause.
OK,I had else and it malfunctioned but maybe I changed another bit of the code, too.Will test it later.Looked at the rest of this Pset and have no clue.Cannot see how I will do that and the rest of the course on my own.The lectures are very easy to understand and the reading, too(even if I forget all the rules I read,I comprehend it when I do)but the coding problems seem way more complex. Not sure what to do but thank you very much for your help.