<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wikitechia.top/index.php?action=history&amp;feed=atom&amp;title=Python_basics</id>
	<title>Python basics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wikitechia.top/index.php?action=history&amp;feed=atom&amp;title=Python_basics"/>
	<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;action=history"/>
	<updated>2026-10-26T04:39:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wikitechia.top/index.php?title=Python_basics&amp;diff=1816&amp;oldid=prev</id>
		<title>Root at 17:31, 26 October 2025</title>
		<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;diff=1816&amp;oldid=prev"/>
		<updated>2025-10-26T17:31:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:31, 26 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l253&quot;&gt;Line 253:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 253:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Programming languages&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Python&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>http://wikitechia.top/index.php?title=Python_basics&amp;diff=1778&amp;oldid=prev</id>
		<title>Root at 06:19, 24 October 2025</title>
		<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;diff=1778&amp;oldid=prev"/>
		<updated>2025-10-24T06:19:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:19, 24 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l253&quot;&gt;Line 253:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 253:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Python&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Programming languages&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>http://wikitechia.top/index.php?title=Python_basics&amp;diff=1744&amp;oldid=prev</id>
		<title>Root at 06:46, 23 October 2025</title>
		<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;diff=1744&amp;oldid=prev"/>
		<updated>2025-10-23T06:46:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://wikitechia.top/index.php?title=Python_basics&amp;amp;diff=1744&amp;amp;oldid=1740&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>http://wikitechia.top/index.php?title=Python_basics&amp;diff=1740&amp;oldid=prev</id>
		<title>Root at 06:34, 23 October 2025</title>
		<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;diff=1740&amp;oldid=prev"/>
		<updated>2025-10-23T06:34:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:34, 23 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l425&quot;&gt;Line 425:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 425:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;print(np.min(arr))    # Minimum&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;print(np.min(arr))    # Minimum&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:KC IT]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Python]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Python]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>http://wikitechia.top/index.php?title=Python_basics&amp;diff=1738&amp;oldid=prev</id>
		<title>Root at 06:33, 23 October 2025</title>
		<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;diff=1738&amp;oldid=prev"/>
		<updated>2025-10-23T06:33:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:33, 23 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l427&quot;&gt;Line 427:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 427:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:KC IT]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:KC IT]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Python]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>http://wikitechia.top/index.php?title=Python_basics&amp;diff=1634&amp;oldid=prev</id>
		<title>Root at 14:15, 21 October 2025</title>
		<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;diff=1634&amp;oldid=prev"/>
		<updated>2025-10-21T14:15:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://wikitechia.top/index.php?title=Python_basics&amp;amp;diff=1634&amp;amp;oldid=1633&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>http://wikitechia.top/index.php?title=Python_basics&amp;diff=1633&amp;oldid=prev</id>
		<title>Root: Created page with &quot;= Basic python course =  This tutorial provides a quick introduction to &#039;&#039;&#039;Python programming.&#039;&#039;&#039; It covers basic data types, control structures, and common programming concepts in Python.  == Numbers and variables == &#039;&#039;&#039;Numbers&#039;&#039;&#039; represent integer or decimal values that can be used in mathematical operations.   &#039;&#039;&#039;Variables&#039;&#039;&#039; are names that store values in memory.  &lt;syntaxhighlight lang=&quot;python&quot;&gt; 3 + 5      # Addition 3 - 2      # Subtraction 3 * 4      # Multiplicati...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wikitechia.top/index.php?title=Python_basics&amp;diff=1633&amp;oldid=prev"/>
		<updated>2025-10-21T14:06:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Basic python course =  This tutorial provides a quick introduction to &amp;#039;&amp;#039;&amp;#039;Python programming.&amp;#039;&amp;#039;&amp;#039; It covers basic data types, control structures, and common programming concepts in Python.  == Numbers and variables == &amp;#039;&amp;#039;&amp;#039;Numbers&amp;#039;&amp;#039;&amp;#039; represent integer or decimal values that can be used in mathematical operations.   &amp;#039;&amp;#039;&amp;#039;Variables&amp;#039;&amp;#039;&amp;#039; are names that store values in memory.  &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt; 3 + 5      # Addition 3 - 2      # Subtraction 3 * 4      # Multiplicati...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Basic python course =&lt;br /&gt;
&lt;br /&gt;
This tutorial provides a quick introduction to &amp;#039;&amp;#039;&amp;#039;Python programming.&amp;#039;&amp;#039;&amp;#039; It covers basic data types, control structures, and common programming concepts in Python.&lt;br /&gt;
&lt;br /&gt;
== Numbers and variables ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Numbers&amp;#039;&amp;#039;&amp;#039; represent integer or decimal values that can be used in mathematical operations. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Variables&amp;#039;&amp;#039;&amp;#039; are names that store values in memory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
3 + 5      # Addition&lt;br /&gt;
3 - 2      # Subtraction&lt;br /&gt;
3 * 4      # Multiplication&lt;br /&gt;
5 / 2      # Division (returns 2.5)&lt;br /&gt;
5 % 2      # Modulus (remainder)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can store and reuse values using variables:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
a = 5&lt;br /&gt;
b = 3&lt;br /&gt;
result = a + b&lt;br /&gt;
print(result)  # 8&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Strings ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Strings&amp;#039;&amp;#039;&amp;#039; are sequences of characters, such as text or symbols. &lt;br /&gt;
&lt;br /&gt;
They can be enclosed in single (`&amp;#039;`) or double (`&amp;quot;`) quotes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
greeting = &amp;quot;Hello&amp;quot;&lt;br /&gt;
name = &amp;#039;Alice&amp;#039;&lt;br /&gt;
print(greeting, name)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can combine strings and variables using &amp;#039;&amp;#039;&amp;#039;format()&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
name = &amp;quot;Antonio&amp;quot;&lt;br /&gt;
age = 30&lt;br /&gt;
print(&amp;quot;My name is {} and I am {} years old&amp;quot;.format(name, age))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Access characters using indices:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
word = &amp;quot;football&amp;quot;&lt;br /&gt;
print(word[0])   # &amp;#039;f&amp;#039;&lt;br /&gt;
print(word[-1])  # &amp;#039;l&amp;#039;&lt;br /&gt;
print(word[1:4]) # &amp;#039;oot&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lists ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; is an ordered collection of elements that can contain numbers, strings, or other objects. &lt;br /&gt;
&lt;br /&gt;
Lists are &amp;#039;&amp;#039;&amp;#039;mutable&amp;#039;&amp;#039;&amp;#039;, meaning you can add, change, or remove elements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
letters = [&amp;#039;a&amp;#039;, &amp;#039;b&amp;#039;, &amp;#039;c&amp;#039;]&lt;br /&gt;
letters.append(&amp;#039;d&amp;#039;)&lt;br /&gt;
print(letters)  # [&amp;#039;a&amp;#039;, &amp;#039;b&amp;#039;, &amp;#039;c&amp;#039;, &amp;#039;d&amp;#039;]&lt;br /&gt;
print(letters[0])   # &amp;#039;a&amp;#039;&lt;br /&gt;
print(letters[-1])  # &amp;#039;d&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lists can also contain other lists (nested lists):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
nested = [1, 2, 3, [&amp;#039;a&amp;#039;, &amp;#039;b&amp;#039;, &amp;#039;c&amp;#039;]]&lt;br /&gt;
print(nested[3][0])  # &amp;#039;a&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;dictionary&amp;#039;&amp;#039;&amp;#039; stores data as &amp;#039;&amp;#039;&amp;#039;key-value pairs&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Each key must be unique, and it’s used to retrieve its corresponding value.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
person = {&amp;quot;name&amp;quot;: &amp;quot;Antonio&amp;quot;, &amp;quot;age&amp;quot;: 30}&lt;br /&gt;
print(person[&amp;quot;name&amp;quot;])  # Antonio&lt;br /&gt;
print(person[&amp;quot;age&amp;quot;])   # 30&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Booleans ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Booleans&amp;#039;&amp;#039;&amp;#039; represent logical values: either &amp;#039;&amp;#039;&amp;#039;True&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;False&amp;#039;&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
They are commonly used in conditions and comparisons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
a = 5&lt;br /&gt;
b = 6&lt;br /&gt;
print(a == b)  # False&lt;br /&gt;
print(a &amp;lt; b)   # True&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tuples ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;tuple&amp;#039;&amp;#039;&amp;#039; is a collection of elements similar to a list, but &amp;#039;&amp;#039;&amp;#039;immutable&amp;#039;&amp;#039;&amp;#039;, meaning it cannot be changed after creation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
t = (1, 2, 3)&lt;br /&gt;
print(t[0])  # 1&lt;br /&gt;
# t[0] = 5 → Error (cannot modify tuple)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sets ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;set&amp;#039;&amp;#039;&amp;#039; is an &amp;#039;&amp;#039;&amp;#039;unordered&amp;#039;&amp;#039;&amp;#039; collection of &amp;#039;&amp;#039;&amp;#039;unique&amp;#039;&amp;#039;&amp;#039; elements.&lt;br /&gt;
&lt;br /&gt;
It automatically removes duplicates and can be used for mathematical operations like unions or intersections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
numbers = {1, 2, 2, 3}&lt;br /&gt;
print(numbers)  # {1, 2, 3}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert a list to a set to remove duplicates:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
nums = [1, 2, 2, 3, 3]&lt;br /&gt;
unique = set(nums)&lt;br /&gt;
print(unique)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Comparison operators ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Comparison operators&amp;#039;&amp;#039;&amp;#039; are used to compare two values and return a boolean result (True or False).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
a = 5&lt;br /&gt;
b = 4&lt;br /&gt;
print(a == b)  # False&lt;br /&gt;
print(a != b)  # True&lt;br /&gt;
print(a &amp;gt; b and b &amp;lt; 10)  # True&lt;br /&gt;
print(a &amp;lt; b or b &amp;lt; 10)   # True&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conditional statements ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Conditional statements&amp;#039;&amp;#039;&amp;#039; allow the program to make decisions based on certain conditions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
text = &amp;quot;Hello, good morning, my name is Antonio&amp;quot;&lt;br /&gt;
print(text.upper())    # All uppercase&lt;br /&gt;
print(text.lower())    # All lowercase&lt;br /&gt;
print(text.split())    # Split by spaces&lt;br /&gt;
print(text.split(&amp;#039;,&amp;#039;)) # Split by comma&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Use `if`, `elif`, and `else` to control the flow of the program.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
a = 5&lt;br /&gt;
b = 7&lt;br /&gt;
&lt;br /&gt;
if a == b:&lt;br /&gt;
    print(&amp;quot;a equals b&amp;quot;)&lt;br /&gt;
elif a &amp;gt; b:&lt;br /&gt;
    print(&amp;quot;a is greater than b&amp;quot;)&lt;br /&gt;
else:&lt;br /&gt;
    print(&amp;quot;a is less than b&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== For Loops ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;for loop&amp;#039;&amp;#039;&amp;#039; is used to iterate over a sequence such as a list, string, or range of numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
numbers = [1, 2, 3, 4, 5]&lt;br /&gt;
for n in numbers:&lt;br /&gt;
    print(n * 5)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== While Loops ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;while loop&amp;#039;&amp;#039;&amp;#039; repeats a block of code as long as a specified condition is true.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
number = 1&lt;br /&gt;
while number &amp;lt; 5:&lt;br /&gt;
    print(number)&lt;br /&gt;
    number += 1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Range Function ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;range()&amp;#039;&amp;#039;&amp;#039; function generates a sequence of numbers.&lt;br /&gt;
&lt;br /&gt;
It is commonly used in loops to define how many times to iterate.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
for x in range(2, 6):&lt;br /&gt;
    print(x)&lt;br /&gt;
# Output: 2, 3, 4, 5&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List Comprehensions ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;List comprehensions&amp;#039;&amp;#039;&amp;#039; provide a concise way to create new lists from existing ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
numbers = [1, 2, 3, 4, 5]&lt;br /&gt;
doubles = [n * 2 for n in numbers]&lt;br /&gt;
print(doubles)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;function&amp;#039;&amp;#039;&amp;#039; is a reusable block of code that performs a specific task.&lt;br /&gt;
&lt;br /&gt;
Functions can receive parameters and return results.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def greet(name):&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;Prints a personalized greeting.&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    print(&amp;quot;Hello, &amp;quot; + name)&lt;br /&gt;
&lt;br /&gt;
greet(&amp;quot;Antonio&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
def add(a, b):&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;Returns the sum of two numbers.&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    return a + b&lt;br /&gt;
&lt;br /&gt;
print(add(2, 3))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Map Function ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;map()&amp;#039;&amp;#039;&amp;#039; function applies another function to each item in an iterable (e.g., list) and returns the results.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def multiply(x):&lt;br /&gt;
    return x * 2&lt;br /&gt;
&lt;br /&gt;
numbers = [1, 2, 3]&lt;br /&gt;
doubled = list(map(multiply, numbers))&lt;br /&gt;
print(doubled)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lambda Functions ==&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;lambda function&amp;#039;&amp;#039;&amp;#039; is an anonymous, one-line function often used for short operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
numbers = [1, 2, 3]&lt;br /&gt;
tripled = list(map(lambda x: x * 3, numbers))&lt;br /&gt;
print(tripled)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Filter Function ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;filter()&amp;#039;&amp;#039;&amp;#039; function selects elements from a sequence that meet a given condition.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
numbers = [1, 2, 3, 4, 5, 6]&lt;br /&gt;
evens = list(filter(lambda x: x % 2 == 0, numbers))&lt;br /&gt;
print(evens)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== String Methods ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;String methods&amp;#039;&amp;#039;&amp;#039; are built-in functions that allow you to manipulate and analyze text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
text = &amp;quot;Hello, good morning, my name is Antonio&amp;quot;&lt;br /&gt;
print(text.upper())    # All uppercase&lt;br /&gt;
print(text.lower())    # All lowercase&lt;br /&gt;
print(text.split())    # Split by spaces&lt;br /&gt;
print(text.split(&amp;#039;,&amp;#039;)) # Split by comma&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[Category:KC IT]]&lt;/div&gt;</summary>
		<author><name>Root</name></author>
	</entry>
</feed>