Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python class example

class Greet:
	def __init__(self, names):
    	self.names = names

	def say_hello(self):
    	for name in self.names:
        	print("Hello " + name)
Source by vegibit.com #
 
PREVIOUS NEXT
Tagged: #Python #class
ADD COMMENT
Topic
Name
2+7 =