Giter Site home page Giter Site logo

python-math's People

Contributors

edatfreecodecamp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-math's Issues

error after third answer in Week_02 - practice.ipynb

Hi,
After the third answer i get:
"NameError Traceback (most recent call last)
in
101 one_step_subtract()
102 one_step_mult()
--> 103 one-step_div()
104 two_step()
105 print(" ")

NameError: name 'one' is not defined"

Week_02 - practice - rounding repeating digits

Rounding problems involving repeating digits returns incorrect results.

First time through, I got this problem (and result):

11 x +  12  =  21
Round answer to two decimal places
x = 0.82
Try again
The correct answer is  0.8181818181818182

Second time through, I got this:

9 x +  11  =  6
Round answer to two decimal places
x = -0.56
Try again
The correct answer is  -0.5555555555555556 

Next run gave this:

9 x +  0  =  33
Round answer to two decimal places
x = 3.67
Try again
The correct answer is  3.6666666666666665 
 
11 x +  -3  =  31
Round answer to two decimal places
x = 3.09
Try again
The correct answer is  3.090909090909091 

In all examples, the supplied 'correct' answer is not rounded to two digits, which in turn marks the actual correct answer given as wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.