We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9c3a03 commit ace8ac4Copy full SHA for ace8ac4
main.py
@@ -0,0 +1,5 @@
1
+import mainClass
2
+First = mainClass.FirstTest().test
3
+Second = mainClass.SecondTest().test2
4
+print(First)
5
+print(Second)
mainClass.py
@@ -1,7 +1,7 @@
class FirstTest:
def test():
- return("Function test in class FirstTest is work")
+ print("Function test in class FirstTest is work")
class SecondTest:
6
def test2():
7
- return("Function test2 in class SecondTest is work")
+ print("Function test2 in class SecondTest is work")
mainClass.pyc
831 Bytes
0 commit comments