The Python Oracle

What is Ruby equivalent of Python's `s= "hello, %s. Where is %s?" % ("John","Mary")`

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

--

Track title: CC D Schuberts Piano Sonata D 850 in D

--

Chapters
00:00 Question
00:30 Accepted answer (Score 267)
01:01 Answer 2 (Score 55)
01:19 Answer 3 (Score 20)
01:32 Answer 4 (Score 9)
01:46 Thank you

--

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

Accepted answer links:
[string interpolation]: http://ruby-for-beginners.rubymonstas.or...

Answer 2 links:
[See the docs]: http://ruby-doc.org/core-2.5.0/String.ht...

--

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

--

Tags
#python #ruby #stringformatting

#avk47