原创不意味着能得到“知识产权”。
From C++ to Python and a little Java
从C++到Python以及对Java的小观点
Output
Python: print f'\n'
C++: std::cout print format
Syntax
Python: indent and :
C++: {} and ;
Java
Java: All are classes. Main method in main's class. Total object-oriented.
C++: main method is just a method.
C++ like Python (Typethon)
def c(a : int, b: int) -> int:
print(a)
标签:little,Java,Python,C++,int,print
From: https://www.cnblogs.com/qianxinn/p/17137710.html