The Python Oracle

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

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Magic Ocean Looping

--

Chapters
00:00 Question
00:27 Accepted answer (Score 407)
00:53 Answer 2 (Score 12)
01:25 Answer 3 (Score 7)
01:44 Answer 4 (Score 5)
02:11 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