source: java2python/core/test/testcode/HelloWorld.py@ 519

Last change on this file since 519 was 498, checked in by wouter, 18 months ago

add random test to Math

File size: 417 bytes
Line 
1import sys
2from typing import List
3
4
5class HelloWorld:
6 '''
7 Test for translation to python.<br>
8 Extra line for multiline-test.
9 '''
10 __username:str = "Jan"
11 __lastname:str = "Coens"
12 @staticmethod
13 def main(args:List[str]) -> None:
14 '''
15
16 @param args the arguments of the call.
17 '''
18 sys.stdout.write( ("Hello " + HelloWorld.__username + "!")+'\n')
19
20if __name__ == "__main__":
21 HelloWorld.main(sys.argv[1:])
Note: See TracBrowser for help on using the repository browser.