[Tutor] modulus
ADRIAN KELLY
kellyadrian at hotmail.com
Wed Nov 16 16:46:54 CET 2011
Please can anyone tell me how i can print this without all the brackets and commas, i know i need the modulus symbol but i dont know how it works.
any advice would be appreciated
regards
adrian
def arguments():
name=raw_input ("Please enter your firstname: ")
surname=raw_input ("Enter your surname: ")
address1=raw_input ("Enter Address line 1: ")
address2=raw_input ("Enter Address line 2: ")
address3=raw_input ("Enter Address line 3: ")
return name,surname,address1,address2,address3
address=arguments()
print "%s %s" % address
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111116/a4e13753/attachment.html>
More information about the Tutor
mailing list