Skip to content

aambrioso1/HCC-Programming-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HCC-Programming-Workshop

A repository for programs and projects for HCC Engineering Society

A description of some of the programs in repository

noaa_json.py: This program shows how to retrieve JSON data from stations tracked by the NOAA in water port plot.py: A module that creates a line graph given two lists of numbers.

MadLib.py: Demonstrates how to use interploted f-strings by generated random responses for a MadLib.

comprehension.py: This is a lesson in comprehension. Comprehension is a nice way to build lists, sets, and dictionaries.

QuizGenerator.py: Generates multiple-choice quiz questions. Based on a program in Al Sweigart's nice book "Automate the Boring Stuff."

RegexLesson: This program uses the re library to search the text in a file, 'regex.txt', for email addresses and phone numbers. It copies the emails and phone numbers it finds to a list called 'matches' and prints them out neatly in a standard format.

CountNeighbors: Sketch of a program to count x's, o's, and blanks on a tic-tac-toe board.

monte_carlo_pi.py: Uses a Monte Carlo technique to estimate Pi. Displays a nice plot using the matplotlib library to illustrate the idea.

counting_colorings.py: Counts the number of colorings possible if n walls are colored with n colors. Also partitions the set of all colors by the number of colors used. Uses itertools product function to comtrol the number of nested for loops. The itertools library contains functions for creating iterators for efficient looping.

f_string_lesson: This lesson has is about manipulating strings, lists, and reading and writing to files.

function_lesson: A lesson on functions in Python.

monte_carlo_pi: A visual demo of Monte Carlo technique for calculating Pi.

About

A Repository for programs and projects for HCC ES.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •