anonymous
  • anonymous
Re: 6.00 Handout, Lecture 2 http://tinyurl.com/q35p8dy The handout has the following code: '''' if x < y: if x < z: print 'x is least' else: print 'z is least' else: print 'y is least' ''' why is else: y is least ? if x = 3 y = 2 z = 1 z is the least
MIT 6.00 Intro Computer Science (OCW)
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.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions.

anonymous
  • anonymous
Re: 6.00 Handout, Lecture 2 http://tinyurl.com/q35p8dy The handout has the following code: '''' if x < y: if x < z: print 'x is least' else: print 'z is least' else: print 'y is least' ''' why is else: y is least ? if x = 3 y = 2 z = 1 z is the least
MIT 6.00 Intro Computer Science (OCW)
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
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.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
Write after the code I post, is the following: ''' if x < y: if x < z: print 'x is least' else: print 'z is least' elif y < z: print 'y is least' ''' Which does make sense and later in the code it addresses if z is the least.
anonymous
  • anonymous
To clarify, the difference between the command in the 1st post and 2nd post is ese vs. elif respectively.
anonymous
  • anonymous
The handout has the correct code boxed in a rectangle

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.