English subtitles

← The Exact Time Solution - Software Debugging

Get Embed Code
4 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. Welcome back. We have the problem that we can't pass floating point parameters up here.
  2. And these were done later, result in errors while printing, so what we want to do is
  3. we want to convert them automatically into integers.
  4. How do we do that--well, we simply go along and use the Python function int,
  5. which automatically creates an integer out of the object that's being passed in here,
  6. and in order to make everything real perfect, we also do so in the assertions.
  7. And this is the answer to the quiz.