Search
Another way we can join different data types with strings is using the format() method.
format()
.format() replaces the {} in the string with the values provided to it. To be more specific with the values we can also name them as shown below.
.format()
{}