Skip to content
Chase
  • Home
  • Python
  • Math
  • Q&A
  • Stories
  • Raspberry Pi
  • Stocks
  • Nature

Python

Python

Random Password Generator

Posted on June 25, 2023June 25, 2023 by Chase

This program generates a random password. The password is at least 10 characters long and includes at least 1 number and special character. You can tell the program how many special characters, numbers, and letters you want. The password has letters, numbers, and other characters randomly dispersed throughout. For example,…

Posted in PythonLeave a Comment on Random Password Generator
learning

Python Tic Tac Toe Using Tkinter

Posted on June 25, 2023June 25, 2023 by Chase

Copy and paste this code into a python IDE, and you got tic tac toe!

Posted in learning, PythonLeave a Comment on Python Tic Tac Toe Using Tkinter
Math

Python Simple and Compound Interest Calculator

Posted on May 21, 2023May 21, 2023 by Chase

Don’t have a calculator? Don’t worry. Just paste this code into Python and let Python do all the work.

Posted in Math, Python, Q&ATagged #finance, #pythonLeave a Comment on Python Simple and Compound Interest Calculator
Python

%02d – python

Posted on August 31, 2022 by Chase

In python, %d is similar to %s, but uses numbers instead of strings. This prevents typing str() continuously. The %02d could be useful in creating leading 0s. This could be used in digital clocks that need to always have 4 digits. Example: Output: Example: Output:

Posted in PythonLeave a Comment on %02d – python
Python

CCC ’17 S3 – Nailed It!

Posted on August 26, 2022 by Chase

Nailed It! is a CCC senior 3/ junior 5 question. The method to solve this is similar to Escape Room. The first thing to do to solve this problem is to create a list that measures that number of boards that are length N into the term N. Then, we…

Posted in PythonLeave a Comment on CCC ’17 S3 – Nailed It!
Python

CCC ’20 S2 – Escape Room

Posted on August 12, 2022August 12, 2022 by Chase

For a Junior 5 question, Escape Room isn’t that easy. The brute-force method would be to use breadth first search and find factors, but that will almost guarantee the time will exceed the limit. To solve this, we will need to use a method that doesn’t require any calculations involving…

Posted in PythonLeave a Comment on CCC ’20 S2 – Escape Room
Python

CCC ’21 S2 – Modern Art

Posted on August 7, 2022August 8, 2022 by Chase

Modern Art is a CCC problem. Notice that if you brush on a specific square for an odd number of times, it ends up being a gold square. If it is even or 0, it is a black square. Using this, we could create a table that has the numbers….

Posted in PythonLeave a Comment on CCC ’21 S2 – Modern Art
Python

Mouse Journey

Posted on July 17, 2022July 26, 2022 by Chase

Mouse Journey is a problem that is related to simple math. Read the problem first. The logic is simple: the total number of possibilities is the number of possibilities for the one above and the one to the left. The start is 1, and the cat areas are 0. Now,…

Posted in PythonLeave a Comment on Mouse Journey
Python

CCC ’03 S3 – Floor Plan

Posted on July 5, 2022July 5, 2022 by Chase

Floor plan is a CCC senior 3 problem that is very confusing at first, and gradually becomes more understandable. IndexError is more common. Functions greatly aid to help make the code for the solution. First, make a function called findarea. This function, given a coordinate, will find the area of…

Posted in PythonLeave a Comment on CCC ’03 S3 – Floor Plan
Python

CCC ’00 S2 – Babbling Brooks

Posted on July 1, 2022 by Chase

Babbling Brooks is an example of a problem that is good for functions. There could be two functions, one of them seperates and the other joins. There could be a simple part that isn’t in a function, but most of the work and ligic is into the functions. Sample solution…

Posted in PythonLeave a Comment on CCC ’00 S2 – Babbling Brooks
  • 1
  • 2
  • 3
  • Next »

Tags

#bank #communist #finance #math #news #python Diseases lessons News shortstories soccer Space Travel
March 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Mar    

Chase

Follow us on social media!

Facebook Instagram YouTube Twitter

Useful Links

  • About Us
  • Services
  • Project
  • Blog
  • Supports
  • Term & Condition
  • FAQ
  • Privacy Policy

Our Category

  • Arduino
  • Book Summarization
  • Books and Movies
  • C++

Contact Us

911
gmail@gmail.com
Mars

Chase. All Rights Reserved.

Back to top