CYB130 Phoenix Python Programming String And Text Manipulation

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 file so the code can be validated.

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