what can i do with 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: cool things to do with python

- Make a calculator
- Automating stuff Eg: Parsing thorugh a directory and find a particular file. 
- Making your own website using flask or django etc