Category: Uncategorized
-
Simple Password Generator Using Functions
I made a simple password generator. It asks for 4 parameters and then uses them to create an easy to remember yet strong password. Here’s the code: #Generating function def generate(a, b, c, d,): print(f”Password is: {a}{b}{c}{d}”) pet = input(“Enter the name of your favorite pet: “) symbol= input(“Enter your favorite symbol: “)…
-
About Me
I like history and coding but only sometimes coding.
-
Example Blog Post
A blog post should explain something you learned A good blog post should: To add new images click on the plus sign at the right of each block. You can use the snipping tool to take screenshots
-
Numbers that are divisible by 3.
x = int(input(“How many numbers do you need to check? “))d3 = 0nd3 = 0for i in range(x): number = int(input(“Enter number: “)) check = number % 3 if check == 0: print(f”{number} is divisible by 3.”) d3 += 1 else: print(f”{number} is not divisible by 3.”) nd3 += 1 print(f”You entered {d3}…
-
First Post
I am learning general programming using Python. Home Page