The Python Oracle

In Python, how do I create a string of n characters in one line of code?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Light Drops

--

Chapters
00:00 In Python, How Do I Create A String Of N Characters In One Line Of Code?
00:25 Accepted Answer Score 426
00:53 Answer 2 Score 15
01:23 Answer 3 Score 9
01:42 Answer 4 Score 6
02:07 Answer 5 Score 5
02:30 Thank you

--

Full question
https://stackoverflow.com/questions/1424...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #string

#avk47