What is Python primarily used for in programming?
A) To create high-performance video games only
B) To develop web applications, data analysis, machine learning, and automation tasks
C) To design hardware circuits and embedded systems exclusively
D) To compile and run low-level machine code directly