Question: We are providing a string as an input to your program. Your job is to add the string , hello! to the string we provide

We are providing a string as an input to your program.

Your job is to add the string , hello! to the string we provide you and then output it.

Make sure you include the space after the comma! :

# Input from the command line
import sys
name = sys.argv[1]

# Write your code below
aString = ''
newString = aString + ', hello!'
print(newString)

Step by Step Solution

3.34 Rating (145 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question is complete Here is a stepbystep solution for updating the given code to achieve the de... View full answer

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 Programming Questions!