Git Product home page Git Product logo

kodumisto-playground's Introduction

busse-io-kodumisto

GitHub Pages site for busse.io using kodumisto

kodumisto-playground's People

Contributors

busse avatar

Stargazers

 avatar

Watchers

 avatar

kodumisto-playground's Issues

Test: Fish Jokes

Write a python script that randomly outputs one of five jokes to the console. The jokes should be about fish. Each joke should have a 50% chance of being shown in English, and a 50% chance of being shown in Icelandic.

Test: Haiku

Write a python script that randomly generates one of four different haiku poems and prints the poem to the console. Please make each poem be about a different season. Please only output the python code, omit any other explanation.

DEMO May 5: CREATE: Python function from User Story

.py

User Story:

As a Catagory Manager at a chain of boat supply stores

I want to calculate the number of cases of hull cleaner sold across all of our stores in a given week

So that I can send an invoice to the manufacturer of the hull cleaner for a 10% rebate on each case sold

Acceptance criteria:

A python script that contains a function that satisfies the requirements of the User Story

The function should calculate cases by dividing the number of bottles of hull cleaner sold, and diving that number by 12. If there is any remainder greater than 0, it should always be rounded up to the nearest full case.

DEMO May 5: CREATE: CSV file with sample donation data

.csv

Generate 20 rows of sample test data for a CSV file where each row contains the following fields:

First Name
Last Name
Street Address
City
State
Zip
Donation Amount
Donation Date

Each row should be a different person. The people should be named after characters from The Simpsons. The Donation Amount field should be a random value between $5 and $100. The Donation Date field should be a random date between 1/1/2005 and 12/31/2015.

Test: Sample Data CSV (The Simpsons)

Generate 20 rows of sample test data for a CSV file where each row contains the following fields:

First Name
Last Name
Street Address
City
State
Zip
Donation Amount
Donation Date

Each row should be a different person. The people should be named after characters from The Simpsons. The Donation Amount field should be a random value between $5 and $100. The Donation Date field should be a random date between 1/1/2005 and 12/31/2015.

Test: Hello World

Write a python script that outputs the text Hello World to the console.

Test: User Story 1 (Python Function)

User Story:

As a Catagory Manager at a chain of boat supply stores

I want to calculate the number of cases of hull cleaner sold across all of our stores in a given week

So that I can send an invoice to the manufacturer of the hull cleaner for a 10% rebate on each case sold

Acceptance criteria:

  1. A python script that contains a function that satisfies the requirements of the User Story

  2. The function should calculate cases by dividing the number of bottles of hull cleaner sold, and diving that number by 12. If there is any remainder greater than 0, it should always be rounded up to the nearest full case.

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.