Share your repls and programming experiences

← Back to all posts
Calculator
Geocube101 (590)

Math data set calculator for:

  • mean
  • median
  • mode
  • mid-range
  • range
  • mean deviation
  • standard deviation
  • maximum and minimum points
  • getting sub-list
  • finding values in specified range

Update Log 1:

  • Added ability to get a sub set from the entered data set.
    When asked for positions when getting a subset, syntax is (min, max) where min
    is the starting position (starting at 1) and max is the ending position.

Update Log 2:

  • Added ability to get a number list made from numbers in a specified range.
    When asked for positions when getting a range, syntax is (min, max) where min
    is the starting position (starting at 1) and max is the ending position.

Update Log 3:

  • Added ability to show the help menu by typing 'help' when asked for a data set

Update Log 4:

  • Added list value checking for testing if entered list is valid

Please let me know in comments about bugs or things I could do to improve this

Commentshotnewtop
Geocube101 (590)

@fullern000, I really liked it, and might even use it for some math in the future. Besides, this calculator is only useful for data sets.

SixBeeps (2897)

Wonderfully done! I love the fact that you added a doOldSet functionallity, as I know some data sets can be dauntingly long...

_RealUnderscor (1)

I didn't really notice the "Enter Data Set:" print right away. Try to add more than just 1 line for something like this so it's more noticeable instantly. Other than that, you did amazingly well and I don't think I could make this easily!

Geocube101 (590)

@_RealUnderscor I added some white-space to separate the 'IDE info' from the input prompt.