Lesson Review

Home Forums Python Functions Lesson Review

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7435
    Eamonn
    Keymaster

    Review lesson here

    #7436
    Peam1223
    Participant

    the outputs are 4.67, 125, 7.0, 34, 34, 7, 6, 16, 16.
    the purpose of abs is to make the number positive.
    the purpose of int is to get rid of the decimals.
    the purpose of pow is to times the number by itself.
    the purpose of round is to turn a number with a decimal point either up or down.

    even numbers that truncate a 5 round down
    odd numbers that truncate a 5 round up

    prediction
    4.5
    678
    error

    the results
    4.5
    678
    nothing

    #7445
    Karan123
    Participant

    Today, I had learnt that python was more than a computer language and type of code. You could do so many things with python including calculating numbers. Today’s lesson was sort of easy to replicate and answer as we just had to follow along and learn it independently. I liked how we could use python as more than a tool and have the ability to use this in our everyday lives later in the future. All in all, I had very much appreciated this lesson today and would like to learn more of what else python could do.

    #7446
    Rafael
    Participant

    I learned about: program related to maths
    Ceil()= round up
    Floor()= round down
    import random= generates random numbers
    abs= absolute value
    int= integer

    #7447
    Chien493
    Participant

    I learned how to do some simple calculations with python. this class is really fun. i want do more on python.

    #7454
    Fine
    Participant

    I learned how python can be useful in math and what each of its functions does. Ceil() is the smallest integer>=x, Floor() is the largest integer<=x, int stands for integer, abs is an absolute value, and import random will generate random numbers. Today’s lesson was pretty fun because it’s not too complicated or simple, just right. I really like how python can be more than a computer language and do much more stuff such as math. It is amazing how it is able to print the product from the given function. Overall was good.

    #7455
    Andrew
    Participant

    Today, I learned that it relates to math and it was quite interesting learning about codes I’d like to use and play with python, today’s lesson was quite easy and simple.

    #7456
    Matthew Sparrow
    Participant

    Today we did a lot of things related to math. I learnt more about functions in python.

    #7458
    May07
    Participant

    I learnt that python can even do mathematics calculations, which I found really cool because python can do so much more than I thought. It was easier, too. I enjoyed it and look forward to learn more.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Scroll to Top