Multiple Data Types in Python || Basic Program || Classes || Python
In this we are going to see a basic program to use multiple data types in Python Programming Language.

class HFC:
    id = 0
    name = ''
 
 
obj = HFC()
 
obj.id = int(input())
obj.name = input()
print(obj.id, " ", obj.name)
 
#Coded by SAAHIL


#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post