Example & Tutorial understanding programming in easy ways.

How to assign values for the class attributes at Runtime?

program:


class Hello():

      def __init__(self,var):

            self.variable=var

obj=Hello("Value")

Read More →