0% found this document useful (0 votes)
46 views5 pages

Python 101

Python is an easy-to-learn, open-source, and cross-platform object-oriented programming language known for its clear syntax and high readability. The document compares Python code with C++ for printing and loops, highlighting Python's simplicity. Additionally, it emphasizes Python's widespread use in various industries and its suitability as a foundation for aspiring programmers.

Uploaded by

Ralph Seminiano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views5 pages

Python 101

Python is an easy-to-learn, open-source, and cross-platform object-oriented programming language known for its clear syntax and high readability. The document compares Python code with C++ for printing and loops, highlighting Python's simplicity. Additionally, it emphasizes Python's widespread use in various industries and its suitability as a foundation for aspiring programmers.

Uploaded by

Ralph Seminiano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to

Python
Python Features
● It is easy to learn and has clear syntax.
● Python is free, open-source, and cross-platform.
● It is an object-oriented programming language with high
readability and reliability.
Code Comparison
Printing in Python: Printing in C++:

print("Hello, World!") #include <iostream>

using namespace std;

int main() {

cout << "Hello World!";

return 0;

}
Code Comparison
Loops in Python: Loops in C++:

for x in range(6): #include <iostream>

if x == 3: break using namespace std;

print(x) int main() {

else: for (int i = 0; i <= 10; i = i + 2) {

print("Finally finished!") cout << i << "\n";

return 0;

}
Python Features
● Python is easier to learn
● Python is also widely used in different industries
● Python can be a good foundation for students who wish to learn programming on the industry level.

You might also like