/python_files

🐍 Some short scripts I wrote to test out my Python skills.

Primary LanguagePythonMIT LicenseMIT

Python Files

Some short scripts I wrote to test out my Python skills.

divisors.py

Asks the user for a number and then prints out a list of all the divisors of that number.

fizzbuzz.py

Obvious description is obvious.

frequency.py

Calculate the frequency of words in a given document.

hola.py

A tkinter phrase generator that will say hello to you in 30 different languages.

leap.py

Calculates if a given year is a leap year

less-than.py

Creates a random list of integers. Then takes a user input int and returns a list of all the elements in the random list that are less than the user input.

list-overlap.py

Randomly generate two lists. Returns a list that contains only the elements that are common between the lists (without duplicates).

odd-even.py

Real simple. Takes a user input and tells you whether it's odd or even.

one_hundred.py

Asks the user to enter their name and their age and will print out a message that tells them the year that they will turn 100 years old.

password.py

Generates a random, strong password

the_turtle.py

Draw a geometric shape using Python turtle:

Turtle Output