Code Monkey home page Code Monkey logo

educational-fun's Introduction

educational-fun

My repository for fun and games in collaboration with others. To include coding challenges, fun word problems solved efficiently by code, etc. We will mainly use Python (and some markdown), but hope to add more languages over time!

Installation Instructions

  • If you do not have a computational environment set up to run Python, download Anaconda

    • Specific install instructions for Windows, Mac, Linux? More to say here?
  • To clone this repo locally, execute git clone [email protected]:jordanrhall/educational-fun.git in terminal (or Git Bash on Windows, if you prefer) in a destination of your choosing

  • Maybe a bullet on how to run the notebook and/or scripts?

Contents

Coding Challenges

Jupyter Notebooks

  • The Locker Prank: A fun challenge Jordan found in Popular Mechanics solved in a Jupyter Notebook

Markdown Practice

educational-fun's People

Contributors

carterwpankele avatar prose11 avatar ianrictor avatar

Stargazers

Daniel avatar  avatar

Watchers

James Cloos avatar Jordan R. Hall, PhD avatar

educational-fun's Issues

Check that inputs are integers in Cake Sale Challenge

First off -- nice first draft of this challenge, Cart! I ran it locally with success ... however, when I passed non-integer inputs, the script failed.

Beginning in line 12 of the cake sale script, you are casting inputs as integers -- not so different than your Number_Guesser. If you recall, in your Number_Guesser script, you had some basic checks to make sure inputs were actually numbers. I would just hack that basic structure and apply here.

Links to line 12:

cupcakes = int(input("How many cupcakes do you plan to sell? "))

some helpful repos

Hey J.

I discovered some repos that may be of help to you

Lots of algorithms implemented
https://github.com/TheAlgorithms/Python

set up AWS development environment locally to learn the stack while avoiding paying the piper (i'll be deploying this on carme sometime soon-ish and could give you access)
https://github.com/localstack/localstack

other neatness:
algorithmic trading: https://www.zipline.io / https://github.com/quantopian/zipline
secure remote-computer communication: https://github.com/fabric/fabric

fizzbuzz feedback

only one line printed per loop, so just rethink where your newlines are; you dont need to pad printouts with empty lines, this just makes for extraneous scrolling.

you leveraged the least common multiple by checking that first. good.

but now, if I asked you to switch to 7 and 2 instead of 5 and 3, you have to change code on three different lines.

do we really need three if statements?

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.