[Tutor] Python Variable Addition
viral shah
shahviral.it at gmail.com
Mon Apr 30 11:50:21 CEST 2012
Hi
I'm new in the learning of python
I want to make simple code for two variable addition
Please help me in the following code
*x = 12
print x
y =20
print y
z = x+y
print 'Addition of above two numbers are : ' + int.z
*
when I run this same I got an error message :
*AttributeError: type object 'int' has no attribute 'z'
Please help me to solve the same error
*--
Viral Shah
IT Department,
E-mail : shahviral.it at gmail.com
Mobile : (+91) 9722312220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120430/a86cd925/attachment.html>
More information about the Tutor
mailing list