+ 1

In java.program begin to run from main method. In python. from where does program begin to run????.

10th May 2018, 4:11 PM
Tilanka Dilshan Senadheera
Tilanka Dilshan Senadheera - avatar
2 odpowiedzi
+ 2
In Python statements do not have to be part of a function. Any statements which is not within a function (or class) is executed when it is found by the interpretor (which reads and executes the file from top to bottom).
10th May 2018, 5:38 PM
Vlad Serbu
Vlad Serbu - avatar
+ 9
from the start
10th May 2018, 4:13 PM
Kawaii
Kawaii - avatar