class in python

technical talkiess
0

 class student:

    pass


vishal = student()

vishal.name = 'Vishal usrate'

vishal.std = 12

vishal.school = 'Shriram'

lakhan = student()


print(vishal.name,lakhan)

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)