PW Akshay

Generation

code to explanationMon, 28 Nov 2022

for i in range(c): a += random.choice(b)

the function will run c times and each time it will add a random letter from the list b to the string a

Questions about programming?Chat with your personal AI assistant