Question: In this challenge, your input will be three lines, each containing a string. The first line will be stored in the variable s1, the second

In this challenge, your input will be three lines, each containing a string. The first line will be stored in the variable s1, the second in s2, and the third in s3.

Define a variable called joined_with_commas that holds a string with the contents of s1, followed by a comma, followed by s2, followed by a comma, followed by s3.

Sample Input 1:

apple banana orange

Sample Output 1:

apple,banana,orange

Sample Input 2:

1 2 3

Sample Output 2:

1,2,3

Sample Input 3:

red green blue

Sample Output 3:

red,green,blue
Python 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!