Giter VIP home page Giter VIP logo

python-simple-scripts's Introduction

python-simple-scripts

Simple Python scripts from school including small turtle graphics programs and mathematical computation scripts.

ContinousPalindromeComparer.py

  • takes input from user and tells if input is a palindrome
  • continues to take input until user enters exit

DrawRhombuses.py

  • using turtle graphics, draw a bunch of small rhombuses
  • no user input

DrawTurkeyAndHat.py

  • using turtle graphics, draws a Thanksgiving turkey and Pilgrim hat
  • no user input

InputAnalyzer.py

  • takes input fro muser and tells how many chars, words, sentences are in each input
  • also displays average words size of input and average sentence size
  • continues to take input until user enters done

MyDie.py

  • declares a MyDie class to represent a N-sided die
  • asks user how many sides their MyDie should have and initializes that die
  • asks user how many rolls they want, randomizes the roll, displays the resulting die face

PentInOctInCirc.py

  • using turtle graphics, draws a circle with an octagon in side it with a pentagon inside the octagon
  • no user input

SomeMathFunctions.py

  • asks user for circle radius and displays circumerence and area
  • asks user for length, width, height of box and displays volume
  • asks user for degrees Fahrenheit and displays degrees Celsius and Kelvin conversion
  • asks user for 2 numbers (a,b) and displays a/b, b/a, a%b, b%a

Star.py

  • using turtle graphics, draws a many-pointed star
  • no user input

python-simple-scripts's People

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.