In Python, there are a few different ways of concatenating strings as explained in Ch. 3, “Creating and Modifying Text,” of Introduction to Computing and Programming in Python.

Input the following in JES to see the how strings are concatenated in the output:

  • print “Hi” + “there”
  • print “Hi” + 10
  • print “Hi” * 10

Zip your Python .py file and submit the.zip file so the code can be validated.

Write a1/2 page on why each of your three inputs resulted in its particular output.

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"

If this is not the paper you were searching for, you can order your 100% plagiarism free, professional written paper now!

Order Now Just Browsing

All of our assignments are originally produced, unique, and free of plagiarism.

Free Revisions Plagiarism Free 24x7 Support