Changes between Version 112 and Version 113 of python
- Timestamp:
- Oct 10, 2016, 2:45:07 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
python
v112 v113 809 809 {{{ 810 810 #!python 811 # -*- coding: utf-8 -*-812 811 813 812 class MyClass: 814 variable1 = 1815 variable2 = 2816 813 def __init__(self): 814 self.variable1 = 1 815 self.variable2 = 2 817 816 def foo(self): # Parameter self bomo razložili kasneje 818 print("Hello from function foo")817 print("Hello from the function foo") 819 818 820 819 … … 830 829 831 830 print(my_object.variable1) 832 833 831 }}} 834 832