File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1642,6 +1642,17 @@ Swarm management which means you can create new swarms in Docker Cloud.
1642
1642
1643
1643
<details >
1644
1644
<summary >What are some characteristics of the Python programming language?</summary ><br ><b >
1645
+ ```
1646
+ 1. It is a high level general purpose programming language created in 1991 by Guido Van Rosum.
1647
+ 2. The language is interpreted, being the CPython (Written in C) the most used/maintained implementation.
1648
+ 3. It is strongly typed. The typing discipline is duck typing and gradual.
1649
+ 4. Python focuses on readability and makes use of whitespaces/identation instead of brackets { }
1650
+ 5. The python packate manager is called PIP "pip installs packages", having more than 200.000 available packages.
1651
+ 6. Python comes with pip installed and a big standard library that offers the programmer many precooked solutions.
1652
+ 7. In python **Everything** is an object.
1653
+
1654
+ There are many other characteristics but these are the main ones that every python programmer should know.
1655
+ ```
1645
1656
</b ></details >
1646
1657
1647
1658
<details >
@@ -1719,6 +1730,10 @@ Shortest way is <code>str[::-1]</code> but not the most efficient.
1719
1730
1720
1731
<details >
1721
1732
<summary >How to write to a file?</summary ><br ><b >
1733
+ ```
1734
+ with open('file.txt', 'w') as file:
1735
+ file.write("My insightful comment")
1736
+ ```
1722
1737
</b ></details >
1723
1738
1724
1739
<details >
You can’t perform that action at this time.
0 commit comments