<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rebeccacheptoek</title>
    <description>The latest articles on DEV Community by Rebeccacheptoek (@rebeccacheptoek).</description>
    <link>https://dev.to/rebeccacheptoek</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F850508%2F7294e82b-3520-4673-84c9-79dd81991a7f.png</url>
      <title>DEV Community: Rebeccacheptoek</title>
      <link>https://dev.to/rebeccacheptoek</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rebeccacheptoek"/>
    <language>en</language>
    <item>
      <title>A Beginner's Guide To Data Engineering Concepts, Tools, And Responsibilities.</title>
      <dc:creator>Rebeccacheptoek</dc:creator>
      <pubDate>Sun, 04 Aug 2024 19:18:20 +0000</pubDate>
      <link>https://dev.to/rebeccacheptoek/a-beginners-guide-to-data-engineering-concepts-tools-and-responsibilities-4oka</link>
      <guid>https://dev.to/rebeccacheptoek/a-beginners-guide-to-data-engineering-concepts-tools-and-responsibilities-4oka</guid>
      <description>&lt;p&gt;&lt;strong&gt;Data engineering&lt;/strong&gt; is the process of collecting, organizing, and processing of data to make it accessible, usable, and meaningful&lt;br&gt;
This is to ensure that it can be effectively utilized to derive insights and support business goals.&lt;/p&gt;

</description>
      <category>bigdata</category>
      <category>dataengineering</category>
    </item>
    <item>
      <title>Python 101: Ultimate Python Tutorial For Begginer</title>
      <dc:creator>Rebeccacheptoek</dc:creator>
      <pubDate>Sat, 23 Apr 2022 21:06:37 +0000</pubDate>
      <link>https://dev.to/rebeccacheptoek/python-101-ultimate-python-tutorial-for-begginer-20j2</link>
      <guid>https://dev.to/rebeccacheptoek/python-101-ultimate-python-tutorial-for-begginer-20j2</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Python is a high-level, popular programming language.&lt;/li&gt;
&lt;li&gt;It was created by Guido van Rossum and first released on February 20, 1991.&lt;/li&gt;
&lt;li&gt;It is used for web and software development, mathematics, data analysis, AI and machine learning&lt;/li&gt;
&lt;li&gt;It works on different platforms and it has simple syntax.&lt;/li&gt;
&lt;li&gt;Due to its simplicity, Python is very productive it can help focus on solving developer's problem&lt;/li&gt;
&lt;li&gt;The most recent version of Python is python3. Python is written in an Integrated Development Environment (IDE), such as Pycharm, VS Code, Spyder, Jupyter, Sublime Text, Thonny. Python was designed for readability and it is therefore simple to use&lt;/li&gt;
&lt;li&gt;In this course we are going to learn everything you need to get started with programming in python&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python is available on a variety of platforms, that is Windows, Linux ans MacOS&lt;/li&gt;
&lt;li&gt;Open a terminal window and type "python" to check if it is installed already. This is usually the case in most PC's and if it's not you will have to download python on a web browser&lt;/li&gt;
&lt;li&gt;Go to &lt;a href="https://www.python.org/downloads/"&gt;https://www.python.org/downloads/&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Follow the link to download either for Linux/Unix, Windows or MacOSthe latest version of python
&lt;/li&gt;
&lt;li&gt;Make sure to add python to path if you are using windows. Next we need to install a code editor where we write our codes. They are many including Pycharm, Jupyter, VS Code.&lt;/li&gt;
&lt;li&gt;Python files are created using .py file extension
##Python Syntax &lt;/li&gt;
&lt;li&gt;Python uses indentation to indicate a block of code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Indentation&lt;/strong&gt; : the spaces at the beginning of a code line
###Example
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if 10 &amp;gt; 5:
    print("10 is greater")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;If you skip the indentation you'll get an error&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Python Variables
&lt;/h2&gt;

&lt;p&gt;Variables are temporary storage of data in a computer's memory &lt;br&gt;
number = 10 &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;number is a variable and it is a memory location where the value 10 is stored
Variables don't need to be declared with a &lt;em&gt;type&lt;/em&gt;
Variables are case-sensitive:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;X = 'City'
#x and X are different variable names
#X will not overwrite x
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Literal&lt;/strong&gt; - this is a value/data given to a variable&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt;Example
&amp;gt;&amp;gt; name = 'David'
# David is the literal, the value given to the variable name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Identifier&lt;/strong&gt;: It is a name used to identify a variable, function, objects or constants&lt;br&gt;
&lt;code&gt;name = 'Becky'&lt;br&gt;
*name* is an identifier&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Keyword&lt;/strong&gt; : This is a reserved word known to the compiler e.g. for, while, in, def&lt;/p&gt;
&lt;h2&gt;
  
  
  Rules in naming Variables
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A variable name must start with a letter or an underscore&lt;/li&gt;
&lt;li&gt;A variable name cannot start with a number&lt;/li&gt;
&lt;li&gt;Variable names are case-sensitive i.e. case, Case and CASE are different variables&lt;/li&gt;
&lt;li&gt;Keywords should not be used as variables&lt;/li&gt;
&lt;li&gt;Do not use special characters such as &lt;code&gt;., #, @, -&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Python Comments
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;These are texts that are ignored during compilation&lt;/li&gt;
&lt;li&gt;Comments are used to explain the code and it makes it more readable&lt;/li&gt;
&lt;li&gt;Comments in python starts with a #.&lt;/li&gt;
&lt;li&gt;To comment multiple lines with &lt;code&gt;#&lt;/code&gt;we use &lt;code&gt;Ctrl + /&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Multiple line comments are done by adding triple quotes
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"""
this is
a multiline
comment
"""
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;""""""
"""
this is
a multiline
comment
"""&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Python Data Types
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Variables store data of different data types. Python data types are:
&lt;strong&gt;Numeric types&lt;/strong&gt; : &lt;code&gt;int&lt;/code&gt;, &lt;code&gt;float&lt;/code&gt;, &lt;code&gt;complex&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = 10     #int
x = 10.2   #float
x = 3 + 2j #complex
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Sequence types&lt;/strong&gt; : &lt;code&gt;list&lt;/code&gt;, &lt;code&gt;tuple&lt;/code&gt;,&lt;code&gt;range&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = ["bus", "car", "cart"] #list
x = ("bus", "car", "cart") #tuple
x = range(3)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Mapping type&lt;/strong&gt; : &lt;code&gt;dict&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = {"vehicle" : "car",  "name" : "Toyota"}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Set types&lt;/strong&gt; : &lt;code&gt;set&lt;/code&gt;, &lt;code&gt;frozenset&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = {"bus", "car", "cart"}

x = frozenset({"bus", "car", "cart"})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Boolean&lt;/strong&gt; :&lt;code&gt;bool&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = True
y = False
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Text type&lt;/strong&gt; : &lt;code&gt;str&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x = 'Hello World'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Type Conversion
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;To get the data type of variable we use the &lt;code&gt;type ()&lt;/code&gt; function
###Example
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name = 'Becky'
print(type(name))
print(name)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; &amp;lt;class 'str'&amp;gt;
 Becky
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Getting Input
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;We use &lt;code&gt;input ()&lt;/code&gt; function to receive input from the user
###Example
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name = input('What is your name? ') 
print('My name is ' + name)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;What is your name? *Becky*
My name is *Becky*
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Formatted Strings
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Are useful in situations where you want to dynamically generate some texts with your variables
Prefix your string with an 'f' for a formatted string&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;first = 'Becky'
last = 'Toek'
message = first + '[' + last + '] loves coding' #string concatenation
msg = f'{first} [{last}] loves coding' #formatted string
print(msg)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Becky [Toek] loves coding
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Python Operators
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Operators are used to perform operations on variables and values
Python has different operators:
## Arithmetic Operators&lt;/li&gt;
&lt;li&gt;Are use with numeric values to perform mathematical operations&lt;/li&gt;
&lt;li&gt;They are:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Addition&lt;/td&gt;
&lt;td&gt;+&lt;/td&gt;
&lt;td&gt;x + y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Subtraction&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;td&gt;x - y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multiplication&lt;/td&gt;
&lt;td&gt;*&lt;/td&gt;
&lt;td&gt;x * y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Division&lt;/td&gt;
&lt;td&gt;/&lt;/td&gt;
&lt;td&gt;x + y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Modulus&lt;/td&gt;
&lt;td&gt;%&lt;/td&gt;
&lt;td&gt;x % y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Floor division&lt;/td&gt;
&lt;td&gt;//&lt;/td&gt;
&lt;td&gt;x // y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Exponential&lt;/td&gt;
&lt;td&gt;**&lt;/td&gt;
&lt;td&gt;x ** y&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Assignment Operators
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Assigns values to variables&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;=&lt;/td&gt;
&lt;td&gt;x = y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;+=&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-=&lt;/td&gt;
&lt;td&gt;x -= y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;*=&lt;/td&gt;
&lt;td&gt;x *= y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/=&lt;/td&gt;
&lt;td&gt;x /= y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;%=&lt;/td&gt;
&lt;td&gt;x %= y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;//=&lt;/td&gt;
&lt;td&gt;x //= y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;**=&lt;/td&gt;
&lt;td&gt;x **= y&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Logical Operators
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;They are used to combine conditional operators&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Examples&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;and&lt;/td&gt;
&lt;td&gt;Logical AND&lt;/td&gt;
&lt;td&gt;returns True if both statements are true&lt;/td&gt;
&lt;td&gt;x &amp;gt; 0 and y &amp;gt; 0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;or&lt;/td&gt;
&lt;td&gt;Logical OR&lt;/td&gt;
&lt;td&gt;returns True if one of the statements is true&lt;/td&gt;
&lt;td&gt;x &amp;lt; 10 or y &amp;lt; 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;not&lt;/td&gt;
&lt;td&gt;Logical NOT&lt;/td&gt;
&lt;td&gt;returns True if the statement is false&lt;/td&gt;
&lt;td&gt;not x&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Bitwise Operators
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Used to compare binary values&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;x &lt;strong&gt;&amp;amp;&lt;/strong&gt; y&lt;/td&gt;
&lt;td&gt;Bitwise AND&lt;/td&gt;
&lt;td&gt;Bits defined in both x and y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;x &lt;strong&gt;l&lt;/strong&gt; y&lt;/td&gt;
&lt;td&gt;Bitwise OR&lt;/td&gt;
&lt;td&gt;Bits defined in x or y or both&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;x &lt;strong&gt;^&lt;/strong&gt; y&lt;/td&gt;
&lt;td&gt;Bitwise XOR&lt;/td&gt;
&lt;td&gt;Bits defined in x or y but not both&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;x &lt;strong&gt;&amp;lt;&amp;lt;&lt;/strong&gt; y&lt;/td&gt;
&lt;td&gt;Bit shift left&lt;/td&gt;
&lt;td&gt;Shift bits of x left by y units&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;x &lt;strong&gt;&amp;gt;&amp;gt;&lt;/strong&gt; y&lt;/td&gt;
&lt;td&gt;Bit shift right&lt;/td&gt;
&lt;td&gt;Shift bits of x right by y units&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;~&lt;/strong&gt; x&lt;/td&gt;
&lt;td&gt;Bitwise NOT&lt;/td&gt;
&lt;td&gt;Inverts all the bits of x&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Comparison Operators
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;This operator is used to compare two values&lt;/li&gt;
&lt;li&gt;Colons can be used to align columns.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operators&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;==&lt;/td&gt;
&lt;td&gt;Equal to&lt;/td&gt;
&lt;td&gt;x == y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;!=&lt;/td&gt;
&lt;td&gt;Not equal to&lt;/td&gt;
&lt;td&gt;x != y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;gt;&lt;/td&gt;
&lt;td&gt;Greater than&lt;/td&gt;
&lt;td&gt;x &amp;gt; y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;lt;&lt;/td&gt;
&lt;td&gt;Less than&lt;/td&gt;
&lt;td&gt;x &amp;lt; y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;=&amp;gt;&lt;/td&gt;
&lt;td&gt;Greater than or equal to&lt;/td&gt;
&lt;td&gt;x &amp;gt;= y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;lt;=&lt;/td&gt;
&lt;td&gt;Less than or equal to&lt;/td&gt;
&lt;td&gt;x &amp;lt;= y&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Identity Operators
&lt;/h2&gt;

&lt;p&gt;Checks for object identity. This is different from equality such that it compares the objects if they are the same objects, with the same memory location&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;is&lt;/td&gt;
&lt;td&gt;It returns True if both variables are the same object&lt;/td&gt;
&lt;td&gt;x is y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;is not&lt;/td&gt;
&lt;td&gt;Is true if both variables are not the same object&lt;/td&gt;
&lt;td&gt;x is not y&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Membership Operators
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Used to test if a sequence is presented in an object&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;in&lt;/td&gt;
&lt;td&gt;Returns True if a sequence of the specified value is present in the object&lt;/td&gt;
&lt;td&gt;x in y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;not in&lt;/td&gt;
&lt;td&gt;Returns True if a sequence of the specified value is not present in the object&lt;/td&gt;
&lt;td&gt;x not in y&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Python Lists
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Lists are used to store multiple items in a variable&lt;br&gt;
They are created using square brackets&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;vehicles = ["bus", "car", "truck"]&lt;br&gt;
print(vehicles)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Lists items have a defined order and it will not change&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Lists allows duplicate values &lt;br&gt;
i.e. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;mylist = ["apple","mango", "orange", "mango", "kiwi" ]&lt;br&gt;
print(mylist)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The items are indexed and the first item has index [0]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The data type for lists is &lt;code&gt;'list'&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Items in a list could contain any data type (int, bool,str,)&lt;/p&gt;
&lt;h1&gt;
  
  
  Python Tuples
&lt;/h1&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Tuples store multiple items in a single variable&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;They are written with round brackets()&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example&lt;/p&gt;

&lt;blockquote&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mytuple = ("apple","mango","orange","kiwi")
print(mytuple)
&lt;/code&gt;&lt;/pre&gt;

&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Output&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;('apple', 'mango', 'orange', 'kiwi')&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/blockquote&gt;
&lt;br&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Tuple items like lists are ordered, unchangeable and allow duplicate &lt;/li&gt;
&lt;li&gt;The items are indexed and the first item has index [0]&lt;/li&gt;
&lt;li&gt;The data type of tuple is &lt;code&gt;'tuple'&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Items in a tuple could contain any data type&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Python Sets
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Sets are used to store multiple items in a single variable&lt;/li&gt;
&lt;li&gt;They are written with curly brackets {}&lt;/li&gt;
&lt;li&gt;Unlike tuples and lists sets are unordered, unchangeable and do not allow duplicates&lt;/li&gt;
&lt;li&gt;Sets are unindexed &lt;/li&gt;
&lt;li&gt;Sets can be of any data type and they are of the data type &lt;code&gt;sets&lt;/code&gt;
&amp;gt;Example
&amp;gt; &amp;gt;

&lt;code&gt;
&amp;gt;&amp;gt; myset = {"apple","mango","orange","kiwi"}
&amp;gt;&amp;gt; print(myset)
&amp;gt; &amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Output&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;{'apple', 'mango', 'orange', 'kiwi'}&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/blockquote&gt;
&lt;br&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Python Dictionaries
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Dictionaries are used store values in key: value pairs&lt;/li&gt;
&lt;li&gt;It is ordered, changeable, and do not allow duplicates &lt;/li&gt;
&lt;li&gt;They are written with curly brackets and have keys and values&lt;/li&gt;
&lt;li&gt;Values in a dictionary can be of any data type &lt;/li&gt;
&lt;li&gt;Dictionaries are defined as objects with data type &lt;code&gt;dict&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Example&lt;/p&gt;

&lt;blockquote&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mydict = {
"food" : "beans",
"type" : "protein",
"amountKg": 2
}
print(mydict)
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;Output&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;{'food': 'beans', 'type': 'protein', 'amountKg': 2}&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/blockquote&gt;
&lt;br&gt;
&lt;/blockquote&gt;

</description>
      <category>python</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
