Post History
Python 3, 34 bytes lambda a,b:''.join(b*i for i in a) Try it online!
Answer
#2: Post edited
# [Python 3], 36 bytes- <!-- language-all: lang-python -->
f=lambda a,b:''.join(b*i for i in a)[Try it online!][TIO-ktuy5oi7]- [Python 3]: https://docs.python.org/3/
[TIO-ktuy5oi7]: https://tio.run/##K6gsycjPM/7/P802JzE3KSVRIVEnyUpdXS8rPzNPI0krUyEtv0ghUyEzTyFR839BUWZeiUZRakGRRpqGemJSsrqOgqGmpiYXqoRHak5OPlDKAFMqJb80KScVKGeERVsmUNwEUxykGmTUfwA "Python 3 – Try It Online"
- # [Python 3], 34 bytes
- <!-- language-all: lang-python -->
- lambda a,b:''.join(b*i for i in a)
- [Try it online!][TIO-ktv05yn7]
- [Python 3]: https://docs.python.org/3/
- [TIO-ktv05yn7]: https://tio.run/##K6gsycjPM/6fZhvzPycxNyklUSFRJ8lKXV0vKz8zTyNJK1MhLb9IIVMhM08hUfN/QVFmXolGUWpBkUaahnpiUrK6joKhpqYmF6qER2pOTj5QygBTKiW/NCknFShnhEVbJlDcBFMcpBpk1H8A "Python 3 – Try It Online"
#1: Initial revision
# [Python 3], 36 bytes <!-- language-all: lang-python --> f=lambda a,b:''.join(b*i for i in a) [Try it online!][TIO-ktuy5oi7] [Python 3]: https://docs.python.org/3/ [TIO-ktuy5oi7]: https://tio.run/##K6gsycjPM/7/P802JzE3KSVRIVEnyUpdXS8rPzNPI0krUyEtv0ghUyEzTyFR839BUWZeiUZRakGRRpqGemJSsrqOgqGmpiYXqoRHak5OPlDKAFMqJb80KScVKGeERVsmUNwEUxykGmTUfwA "Python 3 – Try It Online"