New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
is there anything wrong in this please answer
import string
from random import *
letters = string.ascii_letters
digits = string.digits
chars = letters + digits
min_length = 9
max_length = 15
password = "".join(choice(chars) for x in range(randint(min_length, max_length)))
print(password)
1 Vote
4 Answers[ ASSIGNMENT: ] Special Number
30 Votes
22 AnswersWrite a static method called weave that that takes two integers as parameters and that returns the result of weaving their digits together to form a single integer. Two numbers x and y are weaved together as follows. The last pair of digits in the result should be the last digit of x followed by the last digit of y. The second-to-the-last pair of digits in the result should be the second-to-the-last digit of x followed by the second-to-the-last digit of y. And so on.
0 Votes
13 AnswersInteger's digits.
0 Votes
2 AnswersHot today
Question
2 Votes
ummmm...
0 Votes
Accessing null element
2 Votes
Which language I should go ?
0 Votes
Phishing page
0 Votes
C++
0 Votes
Code coach problem
0 Votes
How to send code output to other
0 Votes