课程: Level Up: Python
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Generate a password
(playful music) - Security experts recommend using a different password for each of your online accounts. So this challenge will involve writing a Python function to generate new passwords, which is good programming practice for working with randomness. Now I have a hard time remembering passwords like this one. It's a mess of letters, numbers, and special characters. For my own passwords, I prefer to use a system called Diceware to generate easier to remember pass phrases. It involves using a list of over 7,000 different words. Each word is associated with a five digit number, where each of the digits in that number is between one through six. You roll dice to generate a sequence of five random numbers, which corresponds to one of those words. Repeat that process several more times and the sequence of random words the dice chooses is your new passphrase. As a human, it's a lot easier to remember a sequence of words…
内容
-
-
-
Find prime factors3 分钟 11 秒
-
(已锁定)
Identify a palindrome2 分钟 48 秒
-
(已锁定)
Sort a string3 分钟 2 秒
-
(已锁定)
Find all list items3 分钟 12 秒
-
(已锁定)
Play the waiting game2 分钟 22 秒
-
(已锁定)
Save a dictionary3 分钟 13 秒
-
(已锁定)
Schedule a function3 分钟 16 秒
-
(已锁定)
Send an email3 分钟 12 秒
-
(已锁定)
Simulate dice3 分钟 16 秒
-
(已锁定)
Count unique words3 分钟 12 秒
-
(已锁定)
Generate a password3 分钟 59 秒
-
(已锁定)
Merge CSV files3 分钟 35 秒
-
(已锁定)
Solve a sudoku4 分钟 8 秒
-
(已锁定)
Build a zip archive3 分钟 42 秒
-
(已锁定)
Download sequential files4 分钟 2 秒
-