[Tutor] Sequencing
Cindy Lee
cindylee2321 at yahoo.com
Wed May 18 11:19:41 CEST 2011
Hi Pyton Tutors thanks for adding me,
I am new to Python and missed one of my classes and am not sure of my homework. We are currently on sequencing and are being asked to make a function that receives text as an argument and returns the same text, but with 1 added to each number. So far I have:
def ReceiveAndReturn():
sentence=raw_input("Give me a sentence with variables in it: ")
print ReceiveAndReturn
could anyone give me any hints on what else needs to be added?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110518/e8022fa0/attachment-0001.html>
More information about the Tutor
mailing list