[Tutor] Python Variable Addition
Kapil Shukla कपिल शुक्ला
shukla.kapil at gmail.com
Mon Apr 30 12:00:26 CEST 2012
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.it at gmail.com>
Sender: tutor-bounces+shukla.kapil=gmail.com at python.org
Date: Mon, 30 Apr 2012 15:20:21
To: <tutor at python.org>
Subject: [Tutor] Python Variable Addition
_______________________________________________
Tutor maillist - Tutor at python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list