from ctypes import *
iNo=c_int
pNo = id(iNo)
dPrice=dTotal=float
pPrice=id(dPrice)
pTotal=id(dTotal)
cName=range(20)
pName=id(cName)
pName = raw_input("Enter your name: ")
pNo = int(raw_input("Enter quantity: "))
pPrice = float(raw_input("and price: "))
pTotal = pNo * pPrice
print "Dear " + pName + ", your price is " + str(pTotal) + " kr."
iSal=[14000,15000,16000,17000,18000,19000]
pSal = id(iSal)
dTax=[0.32,0.34,0.35,0.36,0.365,0.37]
pTax=id(dTax)
print "Salary Tax"
for i in range(6):
print str(iSal[i])+" ",str(iSal[i]*dTax[i])
i=i+1
def find(s):
for p in range(len(s)):
if(s[p]=='@'):
print "It is an email address"
p=p+1
#cString=range(9)
pString=id(cString)
cString=raw_input("Enter A text: ")
find(cString)
iNumber=int(raw_input("How many product will be entered? "))
for i in range(iNumber):
pNo = id(iNumber)
print pNo
pNO = pNo + 1
pNo = pNo - iNumber
for i in range(iNumber):
print id(pNO)
pNo = pNO + 1
pNo = pNo - iNumber
del pNo
iNo = 5
cName = range(iNo)
print "Enter the name of 5 course mates: "
for i in range(iNo):
print "Mate no. " ,i+1
temp = raw_input("Mate name: ")
cName.append(temp)
for j in range(iNo):
print cName[j]
for k in range(iNo):
del cName[k]