Three things:
I also like that you can easily run the interpreter from the command line to test things. For example:
$ python
>>> name = "Steph"
>>> name
'Steph'
Also, I can use type(), dir(), and help(), for example:
>>> name = "Steph"
>>> type(name)
<class 'str'>
A comparison of Python with C++:
#include <iostream>
#include <string>
using namespace std;
int main() {
string name;
cin >> name;
cout << "Good evening, " << name << endl;
return 0;
}
name = input()
print("Good evening, " + name)
Simple example showing Numpy array:
import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr)
print(type(arr))