一分钟告诉你为什么要学Python

it2026-03-19  1

在Java里打印 hello world

public class Main { public static void main(String[] args) { System.out.println("Hello World!"); } }

你需要了解:

面向对象的基本知识静态函数参数不要忘了打分号返回值数组System.out 看着就很烦

在 C++里面打印hello world

#include <iostream> int main() { std::cout << "Hello World!"; return 0; }

你需要了解:

如何导入标准库函数返回值不要忘了打分号数据类型新手学学 学到指针可能就放弃了

在 JavaScript里面打印hello world

<!DOCTYPE HTML> <html> <body> <p>Before the script...</p> <script> alert( 'Hello, world!' ); </script> <p>...After the script.</p> </body> </html>

你需要了解:

HTML看着就很复杂

什么你说Node.js? 新手会知道怎么装Node.js ??

在Python里面打印hello world

print("Hello World!")

你需要了解:

耶✌️我会编程了!

再加上这几行

import numpy as np import pandas as pd import torch 耶✌️ 我会数据科学和深度学习了!

 

最新回复(0)