. Sm0kin'_Bull wrote:
This is what I got: ######################## In [45]: I = "Allen" In [46]: me = "Allen" In [47]: my = "Allen's" In [48]: In [48]: print \ ....: """ ....: %s woke up early in the morning. But, it was unusal by %s. %s pillow ....: was with %s. %s didn't want to wake up But, %s tried my best and woke up. ....: it was so amazing!""" % (I,me,my,me,I,I) Allen woke up early in the morning. But, it was unusal by Allen. Allen's pillow was with Allen. Allen didn't want to wake up But, Allen tried my best and woke up. it was so amazing! ######################## It looks like it should. If you want it to show up exactly like posted at the end, you need something more like this: ######################## In [50]: print \ ....: """ ....: %s woke up early in the morning. But, it was unusal by %s. ....: %s pillow was with %s. %s didn't want to wake up But, %s ....: tried my best and woke up. it was so amazing!""" % (I,me,my,me,I,I) Allen woke up early in the morning. But, it was unusal by Allen. Allen's pillow was with Allen. Allen didn't want to wake up But, Allen tried my best and woke up. it was so amazing! ########################### Jeremy Jones
|
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor