from collections import namedtuple
MyStruct = namedtuple("MyStruct", "regno fees")
integer = MyStruct("1234", " ")
real = MyStruct(" ","320.17")
integer=integer._replace(fees=real.fees)
real=real._replace(regno=integer.regno)
print "Reg_no : ",real.regno,",Reg.no : ",integer.fees
from collections import namedtuple
MyStruct = namedtuple("MyStruct", "regno fees")
student = MyStruct("1234", "320.17")
print "Reg.no : ",student.regno,",Reg.no : ",student.fees
from collections import namedtuple
MyStruct = namedtuple("MyStruct", "regno fees")
integer = MyStruct("1234", "320.17")
real = MyStruct("","")
real=real._replace(regno=integer.regno,fees=integer.fees)
print "Reg_no : ",real.regno,",Reg.no : ",real.fees