Viral
You should be doing this 

"Addition of two numbers is" + str(x+y)

+ operator works on same datatypes and int being one of the built in objects in 
python does not have a method z

U shld use str() or int() to do type conversion 

-Kapil
कपिल शुक्‍ला

-----Original Message-----
From: viral shah <shahviral...@gmail.com>
Sender: tutor-bounces+shukla.kapil=gmail....@python.org
Date: Mon, 30 Apr 2012 15:20:21 
To: <tutor@python.org>
Subject: [Tutor] Python Variable Addition

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to