why use python code example
Example 1: why use python
#Hello world in Java:
public class Main {
public static void main(String[] args) {
System.out.println("hello world");
}
}
#Hello world in Python:
print('hello world')
#See?
Example 2: what can you do with python
// make a friend using python
//make sue you have installed pyttsx3 module
// to install module open cmd and write pip install pyttsx3
import pyttsx3
engine = pyttsx3.init()
engine.say("")
engine.runAndWai
Example 3: why use python
#Hello world in C++
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
#Hello world in python
print('Hello World!')
Example 4: why use python
Not only that, the salary is higher!!!!!!