Hello, How do I get the characters to separate? This is what I did. def personalNote(name): 'Print a personalized love note' x = (name) print (x + ", I love you so.") print ("You brighten my day.") print ("Oh, " + x + "!") print ("I wish you could be with me always")
Write a function personalNote() that takes as input a name (as a string) and prints a love note as follows: >>> personalNote('Joon') Joon, I love you so. You brighten my day. Oh, J O O N ! I wish you could be with me always. But alas, Joon, you must stay away. >>> personalNote('Djengo') Djengo, I love you so. You brighten my day. Oh, D J E N G O! I wish you could be with me always. But alas, Djengo, you must stay away.
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor