Fortune Telling Collection - Free divination - Let's try five py students with hands.
Let's try five py students with hands.
First, the game of stone, scissors and cloth.
Objective: To create a command-line game, where players can choose between rocks, scissors and cloth, and play PK with the computer. If the player wins, the score will be added until the end of the game and the final score will be displayed to the player.
Second, the random password generator.
Objective: To create a program that can specify the password length and generate a series of random passwords.
Tip: Create a string of numbers+uppercase letters+lowercase letters+special characters. Randomly generate a string of passwords according to the set password length.
Third, the dice simulator.
Objective: To create a program to simulate dice throwing. X Tip: When the user asks, use the random module to generate a number between 1 and 6.
Fourth, send emails automatically.
Goal: Write a Python script that can be used to send e-mail.
Tip: An e-mail library can be used to send e-mail.
Five, alarm clock
Goal: Write a Python script to create an alarm clock. Tip: You can use the date-time module to create an alarm clock and play a sound library to play sounds.
- Related articles
- Is there such a divine fortune teller in Maoshan? Is there such a person? Who has been there? High score reward
- Why is it called Father Azk?
- Illustration of a woman with a mole on her left hand The cause of a mole on the back of her hand is booming.
- Say a few dream highlights in the guardian sweetheart animation, the more the better. Such as: the first concentration, xxxx (what happened).
- Is it a liar to collect money live?
- Want to know your weight in a man's heart, just look at his attitude towards you?
- 9 1 lunar September 14 9: 00.
- Historians came in: What kind of people did Sumerians and ancient Egyptians belong to?
- Faces can also tell the feng shui direction of your future partner.
- In Shanghai, I plan to bring my baby into close contact with animals. What are the recommended places?