I need assistance with cleaning up my code

by John Ermingham   Last Updated November 09, 2018 01:26 AM

How do you insert "name" into: print("Hello " + name + "!") without concatenation? This is how my code looks like:

name = raw_input("Please insert name: ") print("Hello " + name + "!")

I wish it could look more like this; print(Hello +name+ !")

Tags : python


Related Questions


Images dimensions error in python

Updated February 24, 2018 05:26 AM


How to test Python 3.4 asyncio code?

Updated July 28, 2017 22:26 PM


Setting a class __name__ declaratively

Updated April 11, 2018 18:26 PM