<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by İclal Şeyma Koca on Medium]]></title>
        <description><![CDATA[Stories by İclal Şeyma Koca on Medium]]></description>
        <link>https://medium.com/@iclalseymakoca?source=rss-f563344f65d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jzu09vWngGpFLBlSEBbkmw.png</url>
            <title>Stories by İclal Şeyma Koca on Medium</title>
            <link>https://medium.com/@iclalseymakoca?source=rss-f563344f65d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:27:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iclalseymakoca/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Object-Oriented Programming (OOP) Python]]></title>
            <link>https://medium.com/@iclalseymakoca/object-oriented-programming-oop-python-af1bcb114df?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/af1bcb114df</guid>
            <category><![CDATA[python-object]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Fri, 18 Nov 2022 19:59:41 GMT</pubDate>
            <atom:updated>2022-11-18T19:59:41.301Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*Vl5KyxsfL3GwXS5Qm-STuA.png" /></figure><p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting training to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><p>In this story, I will talk about object-oriented programming, that is, OOP. I wish you good reading.</p><p>First, let’s answer the question of why object-oriented programming.</p><p>Advantages of Object-Oriented Programming. It is quick and easy to implement the approach. It provides a clear structure for programs. It implements the Do Not Duplicate principle and makes the code easier to maintain, edit, and debug. It makes it possible to build reusable applications with less code and shorter development time. It provides extensibility by adding new features to the structure later on. Models problems according to real-life processes.</p><h3>Class Definition</h3><p>Patterns to be used to define a class class class name () : body</p><p>and class can be said as class name : body.</p><h3>Creating a Class with Default Values</h3><p>It is created by putting “:” after typing the name you want to give next to my class keyword. If you want, you can list by pressing enter. Like creating a dictionary, you can successfully create it with the words you type in “ “ together with the noun equals. We use the __init__ function and the self keyword to create instance attributes. The __init__ function is the first to run when we create an object from a class. We use the self keyword as the first parameter of this function. In order to get output from the instance attributes, we must produce an object from our class, that is, instantiate our class.</p><h3>OOP Operations:</h3><ul><li>Encapsulation</li></ul><p>is an access blocking</p><ul><li>Inheritance</li></ul><p>can be described as participation or inheritance.</p><ul><li>Abstract Class</li></ul><p>It is a general definition for abstract classes.</p><ul><li>Overriding</li></ul><p>Overwrite operation.</p><ul><li>Polymorphism</li></ul><p>it shouldn’t actually be considered as a transaction, but OOP transactions are very complex, this is what it was meant to be mentioned in this article.</p><p>You have reached the end of this story. I hope it was informative for you, see you in the next story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af1bcb114df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[File Operations Python]]></title>
            <link>https://medium.com/@iclalseymakoca/file-operations-python-93a2a17dc675?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/93a2a17dc675</guid>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Fri, 18 Nov 2022 19:55:54 GMT</pubDate>
            <atom:updated>2022-11-18T19:55:54.268Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uwR_ZIt9o1eKVEplqICbSg.png" /></figure><p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting training to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><p>In this story, I will talk about file operations, I wish you a good read.</p><p>The first thing to mention for file operations is opening, closing, and reading operations.</p><p>After typing open, we can open the files by putting a comma between the file path and the access mode in two parentheses and typing it in double quotes. The letter w opens files for writing purposes. If a file already exists, it overwrites the existing file.</p><p>The letter a will open the file in append mode. And adds a newline to the end of the file.</p><p>The answer to the question of how to read a file is to use the file path and the letter r for the opened file. But it will give an error when we try to read a file that does not exist. Using the file path and the letter r in two parentheses after typing open is an action for reading only.</p><p>Of course, we can check if the file we want to read exists. we can query the existence of the file with the help of the word that exists by simply searching among the files.</p><h3>File Reading Methods</h3><p>We use readlines() to read line by line. This keyword will also read the file as a list.</p><h3>Adding to a File Opened in Reading Mode</h3><p>After typing the open parantes file path, it is possible to add rt instead of the letter r and use the f.write pattern.</p><h3>File Writing Methods</h3><p>To write a file, it should use the letters w, w+, a, and a+ and the write() and writelines() patterns.</p><h3>Searching for a File</h3><p>The file.seek pattern is used to search within the file. It is necessary to write the position of the bookmark in the parenthesis. this will take you directly to the location you want.</p><h3>Renaming Files</h3><p>You can do this by using the os.rename pattern and then opening the parentheses. It will be sufficient to write the name of the file you want to change first, followed by a comma, and then the new file name you want in the second bracket.</p><h3>Delete File</h3><p>The file is deleted with the os.remove the pattern. If you use it as os.remove(the file name you want to delete), the file you want will be deleted. but of course, it is not possible to delete a file that does not exist.</p><p>You have reached the end of this story. I hope it was informative for you, see you in the next story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93a2a17dc675" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Data Structure: Dictionaries]]></title>
            <link>https://medium.com/@iclalseymakoca/python-data-structure-dictionaries-e752424ae4a0?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e752424ae4a0</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 21:00:20 GMT</pubDate>
            <atom:updated>2022-11-03T21:00:20.704Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting training to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3UHxBgzZtBpzo3MDqXsZg.png" /></figure><p>Dictionaries from python data types will be our topic this week.</p><p>To talk about the dictionaries in Python in the most basic way, it would not be wrong to say that they are different from the dictionary logic that we have all seen in real life. While creating a dictionary in python, we assign a descriptive word key and the corresponding word value. this situation is just like the dictionary logic that everyone knows.</p><p>I will use Turkish and English words to give a simple example.</p><p>The key word, which is “kitap” in Turkish, is value, which means “book”.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href">https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href</a></iframe><h3>How to create dictionaries:</h3><p>There are two ways to create a dictionary in python.</p><p>The first one is the dictionary you created by putting the “=” sign in front of the dictionary name and continuing with “{}” after you are sure that the dictionary name is not a dict and you put it by following the name rules.</p><p>In the second method, you can create your dictionary by using the dict keyword after the “= “ sign you put in front of your dictionary name and ending with ({}) signs.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href">https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href</a></iframe><p>It is possible to create an empty dictionary.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href">https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href</a></iframe><p><strong><em>Things to consider when creating a dictionary:</em></strong></p><p>* Key value pair must be written inside the {} brackets.<br> * It is necessary to use “,” after each key-value pair.<br> * The “:” sign should be used between the key-value pair.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href">https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href</a></iframe><p>Key value values ​​kept in dictionaries do not have to be in the str format, they can also hold different types of data.<br>Dictionaries can be added and subtracted.<br>Key words must be unique but value words can be duplicates.</p><h3>Access to Dictionary Elements:</h3><p>It can be accessed by giving the key value in [] or it is possible to access the element by giving the key value in get().</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href">https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href</a></iframe><h3>Adding an Element to the Dictionary:</h3><p>Assignment can be done with the key-value assignment process. If there is no key, it adds as a new assignment, and if it does, it updates the value.<br> In addition, an element can be assigned to the dictionary with the update() method.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href">https://medium.com/media/150410e58c003d7c09bee5b066553ac3/href</a></iframe><h3>Delete Operations:</h3><p>You can use the methods listed below for the value you want to delete from the dictionary.</p><ul><li>del key</li><li>clear()</li><li>del dict_name</li><li>popitem()</li><li>pop(key)</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/888fe0264a8ebe426acfed036cf11169/href">https://medium.com/media/888fe0264a8ebe426acfed036cf11169/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/888fe0264a8ebe426acfed036cf11169/href">https://medium.com/media/888fe0264a8ebe426acfed036cf11169/href</a></iframe><h3>Dictionary Copy operations</h3><p>The last thing I will talk about in dictionaries is the copying process and you can copy dictionaries using the following methods.</p><ul><li>copy()</li><li>dict()</li><li>= operator</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d7427d5df5a39b5dc1de7f39c5d20012/href">https://medium.com/media/d7427d5df5a39b5dc1de7f39c5d20012/href</a></iframe><p>You have come to the end of my article about dictionaries. I hope you had fun reading it. See you in my next story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e752424ae4a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Data Structure: Set]]></title>
            <link>https://medium.com/@iclalseymakoca/python-data-structure-set-998273ba0925?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/998273ba0925</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 20:59:45 GMT</pubDate>
            <atom:updated>2022-11-03T20:59:45.176Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting training to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><p>In this story, I will talk about sets. Now, I wish you good reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NfAguGkytZdjk1w2CGo9tg.png" /></figure><h3>Set Definition:</h3><p>They cannot be accessed by index. They are not unordered. Which means that when you want to access a set, the order will be different each time and you will not be able to reach a clear value.</p><p>Sets cannot be changed, so they are immutable. Unlike tuples, we can add and remove new elements from the set. But we cannot change an element in the set.</p><p>{} is defined in parentheses. Elements are separated by commas.</p><p>It allows to movement of different types of data.</p><p>Two elements with the same value CANNOT be in place. They do not carry duplicate data.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href">https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href</a></iframe><p>The set allows using tuples in it. Because tuples, like sets, do not allow them to reach their indexes and do not allow any change. However, lists cannot be used within a set. Because it is a structure that allows accessing and changing list indexes.</p><h3>Access to Elements in Set:</h3><p>All elements can be accessed using the for a loop. But keep in mind that there is random order in the sets.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href">https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href</a></iframe><p>As a small note, it is possible to find the set length with len().</p><h3>Adding Elements to a Set:</h3><ul><li>A new element is added to the set with add()</li><li>Multiple additions are made with update().</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href">https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href</a></iframe><h3>Deleting an Element from a Set:</h3><p>Elements can be deleted from sets using the following methods.</p><ul><li>remove()</li><li>discard()</li><li>pop()</li><li>clear()</li><li>del set</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href">https://medium.com/media/c3c1483da84d5e63dee6682d4173edec/href</a></iframe><h3>Operators that we can use on the set:</h3><ul><li>union() -&gt; | : is used to combine two sets. “|” If you write the sign between the two sets you want to combine and equate it to a new set, you will have done this.</li><li>intersection() -&gt; &amp;: Takes only elements common in two sets. should be considered as an intersection set. By typing the &amp; sign between the two sets you want to get the intersection sets, and equating it to another set, you perform the operation.</li><li>difference() -&gt; -: Allows you to make a new set by taking the difference between two sets. Retrieves elements that are in the first set written but not in the second set written. If you put a “-” sign between the first set you want to get the difference of and equalize it to another set, that set will give the difference between the two sets.</li><li>symmetric_difference() -&gt; ^: Allows you to get elements that are not common to both sets. You do this by placing the “^” sign between two sets and equating it to another set.</li></ul><h3>Copy Operations:</h3><p>Copying in sets, which is the last subject of my article, is performed using the following methods.</p><ul><li>copy()</li><li>=</li><li>set()</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eeccb08806d6bfdd5a2c25406146fe84/href">https://medium.com/media/eeccb08806d6bfdd5a2c25406146fe84/href</a></iframe><p>My story about the set is here. See you in the next story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=998273ba0925" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Data Structures: List]]></title>
            <link>https://medium.com/@iclalseymakoca/python-data-structures-list-6f21a16b13ea?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f21a16b13ea</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 20:59:25 GMT</pubDate>
            <atom:updated>2022-11-03T20:59:25.397Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting training to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><p><strong><em>Python List Structure</em></strong></p><p>Lists, sets of comma-separated values ​​(items) between square brackets, are the most useful data type available in Python. The important thing about a list is that the items in a list don’t have to be of the same type.</p><p>Creating a list is clustering different values ​​separated by commas between square brackets.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/251e7eeced3d62a7b2d06d21f55c5c28/href">https://medium.com/media/251e7eeced3d62a7b2d06d21f55c5c28/href</a></iframe><ul><li><strong><em>Accessing Values ​​in Lists</em></strong></li></ul><p>You can also use index numbers in square brackets for assignment operations to access values ​​in lists.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/251e7eeced3d62a7b2d06d21f55c5c28/href">https://medium.com/media/251e7eeced3d62a7b2d06d21f55c5c28/href</a></iframe><ul><li><strong><em>List Functions and Methods</em></strong></li></ul><p><strong><em>Python List Functions</em></strong></p><ul><li>len(list)</li></ul><p>Returns the total length of the list.</p><ul><li>max(list)</li></ul><p>Returns the highest value item from the list.</p><ul><li>min(list)</li></ul><p>Returns the lowest value item from the list.</p><ul><li>list(seq)</li></ul><p>Returns a tuple list</p><p><strong><em>Python List Methods</em></strong></p><ul><li>list.append(obj)</li></ul><p>Adds the object to the list.</p><ul><li>list.count(obj)</li></ul><p>Returns the number of objects in the list</p><ul><li>list.extend(seq)</li></ul><p>Adds the directory contents to the list</p><ul><li>list.index(obj)</li></ul><p>Returns the lowest index number where the Object appears in the list.</p><ul><li>list.insert(obj)</li></ul><p>Inserts the Object after the specified offset array.</p><ul><li>list.pop(obj=list)</li></ul><p>Removes and returns the last object or item in the list</p><ul><li>list.remove(obj)</li></ul><p>Removes the item from the list.</p><ul><li>list.reverse()</li></ul><p>Reverses the list.</p><ul><li>list.sort([func])</li></ul><p>Sorts the list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f21a16b13ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Data Structures: Tuple]]></title>
            <link>https://medium.com/@iclalseymakoca/python-data-structures-tuple-170c755eacf3?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/170c755eacf3</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 20:59:07 GMT</pubDate>
            <atom:updated>2022-11-03T20:59:07.817Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting training to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><p><strong><em>Python Tuple Structure</em></strong></p><p>Tuple lists in Python are similar to list, except that the elements in the tuple cannot be changed, so we cannot add, delete or update the tuple list.<br>Tuple list elements are created with parentheses.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eaafa9337a109c6e363a6675096bbfb6/href">https://medium.com/media/eaafa9337a109c6e363a6675096bbfb6/href</a></iframe><p><strong><em>Updating Tuple List Elements</em></strong><br>Tuple list elements cannot be changed but can be updated by converting them to another list type.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=170c755eacf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Functions in Python]]></title>
            <link>https://medium.com/@iclalseymakoca/functions-in-python-92547f4fa95e?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/92547f4fa95e</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 20:58:50 GMT</pubDate>
            <atom:updated>2022-11-03T20:58:50.849Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting training to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><p>When we need to use a certain piece of code in a python application we have written in a few places, creating a function makes our work easier. In such cases, we can put the lines of code that we will use constantly into functions and call them and run them whenever we want.</p><p><strong><em>Function Definition:</em></strong></p><p>We use the def command to define a function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9c498d249c415cd1c772bbc37035fddc/href">https://medium.com/media/9c498d249c415cd1c772bbc37035fddc/href</a></iframe><p><strong><em>Calling a Function:</em></strong></p><p>We define functions, but the code inside the function block is not executed unless called. To call the function we must use the parentheses along with the name of the function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9c498d249c415cd1c772bbc37035fddc/href">https://medium.com/media/9c498d249c415cd1c772bbc37035fddc/href</a></iframe><p>Sending Parameters to a Function:</p><p>We can send information to functions from outside and use them inside the function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9c498d249c415cd1c772bbc37035fddc/href">https://medium.com/media/9c498d249c415cd1c772bbc37035fddc/href</a></iframe><p>Parameters can be increased as desired and are not limited to str only. Variables such as int float can be used in parameters.</p><p>In this story, I briefly talked about loops. I hope it worked for you. See you in another story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92547f4fa95e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Loops in Python]]></title>
            <link>https://medium.com/@iclalseymakoca/loops-in-python-55e93cda2965?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/55e93cda2965</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 20:58:33 GMT</pubDate>
            <atom:updated>2022-11-03T20:58:33.660Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I am Şeyma, one of the participants of the SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as women, through 3 months long software training and supporting trainings to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.</p><p>Let’s start with a short description of the first loops. To put it simply, loops mean that a process repeats a certain number of times. To explain why we need this, let’s take a computational process. After we write the code that will do a mathematical operation, we make the calculation and we are done. This block of code is scheduled for one-time execution. What if we need to do the same operation more than once? For example, a teacher is required to take the average of all the exams they take in a semester for all students in a class for that student. In this case, it would be a very long and laborious task to use the single-use code block every time. However, we can do this in the shortest and easiest way with loops. So we have to learn the loops.</p><p><strong><em>For Loop:</em></strong></p><p>In order to understand the for loop, it is necessary to talk about the definition of range first. Range is simply used literally and is used to show numbers that are in a certain range.</p><p>For example:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/01444869c90955cbda9b4293ba88891d/href">https://medium.com/media/01444869c90955cbda9b4293ba88891d/href</a></iframe><p>As shown in the example, unless the number written in the range is specified, it goes up one by one, starting from the zero index to the entered number index, including this index. However, it is possible to determine from which value to start in the range and how many times it will increase.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d328391458d32866080857dac03b42a4/href">https://medium.com/media/d328391458d32866080857dac03b42a4/href</a></iframe><p>In the above example, we started our range from the second index and increased it by two up to the eighth index.</p><p>Now that we have learned the range definition, we can now move on to the for a loop.</p><p><strong><em>What is a for loop in Python?</em></strong></p><p>A for loop can iterate over every item in a list or go through every single character in a string and won’t stop until it’s passed every character.</p><p><strong><em>Python For Loop Syntax:</em></strong></p><ul><li>For start for a loop.</li><li>Item is a separate value during each iteration. A temporary arbitrary variable is called.</li><li>In distinguishes each item from the other(s).</li><li>Is: what we want to repeat in the sequence.</li><li>Colon: instructs to execute the following body of code.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d70672f342c6d1f19fc11d1cad82139/href">https://medium.com/media/6d70672f342c6d1f19fc11d1cad82139/href</a></iframe><p>With the for loop, the desired range can be printed, a certain mathematical calculation can be made in the desired range, or beautiful shapes can be drawn as something a little more fun :).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e1824dcc0817e13931c06cbcc940b425/href">https://medium.com/media/e1824dcc0817e13931c06cbcc940b425/href</a></iframe><p><strong><em>While Loop</em></strong></p><p>As long as a condition we specify in while loops are true, we can repeat the lines of code we defined in the while block.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e1ba5e64161cad5eb97afb156ad12d6/href">https://medium.com/media/4e1ba5e64161cad5eb97afb156ad12d6/href</a></iframe><p>As long as i is less than 5 and this condition is true (True), the value i continues to be printed on the screen. However, we need to pay attention to the fact that we have to change the value of i at every step, otherwise, we will enter an endless loop.</p><p>Therefore, after the value of i is printed on the screen, we need to increase the value of i by 1. When the value of i is equal to 5, the while condition returns False and the loop is exited.</p><p><strong><em>Break and Continue</em></strong></p><p>Break ends the loop, continue ends that round of the loop and continues in the next loop.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d65324289a518a44e679dfa7217454a4/href">https://medium.com/media/d65324289a518a44e679dfa7217454a4/href</a></iframe><p>As long as x is less than 5, it is printed to the screen, but when the continue command is executed in the round where x is 2, x is not printed to the screen, but the loop continues from the next round.</p><p>As long as x is less than 5, it is printed on the screen, but when the break command is executed in the round where x is 2, the loop ends and only 1 is printed on the screen.</p><p>My post about loops in Python ends here. I hope the post was helpful to you. See you in my next post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55e93cda2965" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Python]]></title>
            <link>https://medium.com/@iclalseymakoca/introduction-to-python-1a1e19359aaf?source=rss-f563344f65d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a1e19359aaf</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[İclal Şeyma Koca]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 20:57:54 GMT</pubDate>
            <atom:updated>2022-11-03T20:57:54.337Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, I am Şeyma, one of the participants of SistersLab Women in Tech Academy project supported by Toplum Gonulluleri Vakfı (<a href="https://www.tog.org.tr/en/">https://www.tog.org.tr/en/</a>).</p><p>The project aims to empower people between the age of 20–28 who identify as woman, through 3 months long software training and supporting trainings to increase their participation in the workforce in the IT sector.</p><p>You can access detailed information about the project using this link: <a href="https://sisterslab.co/women-in-tech-academy/">https://sisterslab.co/women-in-tech-academy/</a></p><p>I will share with you what I learned about python as part of this beautiful project. I wish you good reading.<br>In the beginning, I would like to answer the question of what is Python. Python is a programming language and is used to increase people’s provision of computers. This programming language is by Guido Van Rossum a Dutch programmer named 90’s started to be developed at the beginning.<br>Well, why I am learning Python, I am learning some of the things we do in our daily life (for example, difficult mathematical calculations) because we can easily do with a few lines of code with Python.</p><p><strong><em>What you can do with python:</em></strong><br>1. You can program various applications with Python: You can create console applications and GUI applications for use in multiple programs.</p><p>2. You can do web development: Since Python is an object-oriented scripting language, you can build a website from scratch.</p><p>3. It helps you with machine learning: You can get support from Python for ML software where you do fingerprint, spam detection, and stock prediction.</p><p>4. Allows robotic coding: Python can be used to make the Raspberry Pi, which is the brain of a robot, functional. Thanks to Python, robots can react to their environment and function to multitask.</p><p>5. Effective in data analysis and data science creation: Python is often used to generate data, especially for IT departments. Python’s open-source libraries provide a serious resource for datagram creation. Due to its contribution to numerical algorithms, it becomes an invaluable resource for all modeling sciences.</p><p>6. You can design mobile applications: While Python did not allow to design of mobile applications in its first years, today you can develop mobile applications with Python software.</p><p>“Hello World” for small and quick start.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c8811ac1889546df893483d5f54e679/href">https://medium.com/media/0c8811ac1889546df893483d5f54e679/href</a></iframe><p><strong><em>Variables: Variable Names</em></strong><br>Punctuation characters such as @, $, and % are not allowed.<br>Only English characters, “_” and numbers can be used when allowing variables. The variable name must not start with a digit.<br>Python is a case-sensitive programming language.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/233705b0464e4f391ac8e2164964d945/href">https://medium.com/media/233705b0464e4f391ac8e2164964d945/href</a></iframe><p><strong><em>Data Types</em></strong></p><p>The type of data we will use in programming is very important. Because, for example, if you should use decimal numbers in an accounting program, you will have big problems if you use only whole numbers instead. For this, you must learn the data types you can use in the first place. <br>The data types you can use are:<br>Text types: str<br>Numeric types: int, float, complex<br>Array types: list, tuple, range<br>Addressing types: dict<br>Set types: set, frozenset<br>Logical types: bool<br>Sample and Data Type<br>x = “Hello World” str<br>x = 20 int<br>x = 20.5 float<br>x = 1j complex<br>x = [“apple”, “banana”, “strawberry”] list<br>x = (“apple”, “banana”, “strawberry”) tuple<br>x = range(6) range<br>x = {“name” : “Dolphin”, “age” : 36} dict<br>x = {“apple”, “banana”, “strawberry”} set<br>x = True bool</p><p><strong><em>Variables Note:</em></strong></p><p><strong><em>Local Variables</em></strong></p><p>Variables defined in functions are called local variables. What we mean by local variables is that the variables are function specific and disappear from memory after the function is done. Such variables cannot be accessed elsewhere.</p><p><strong><em>Global Variable</em></strong></p><p>Global Variables are variables declared outside of a function or in global scope in Python. So we can access Global Variables inside or outside the function.</p><p><strong><em>Operators</em></strong></p><p><strong><em>1. Arithmetic Operators</em></strong><br>Python arithmetic operators are used when performing mathematical operations on numbers. You can examine the following example usages over the variables a=5 and b=2.</p><p>+ Addition a + b = 7<br>- Subtraction a — b =3<br>* Multiplication a*b=10<br>/ Division a/b =2.5<br>% Mode Retrieval a %b= 1<br>** Exponentiation a**b=25<br>// Full Episode a // b = 2</p><p><strong><em>2. Assignment Operators</em></strong><br>Python Assignment operators are used to assign values ​​to variables. Of course, while making these assignments, you can also write practical code by using arithmetic operators. You can examine the following example usages over the variables a=5 and b=2.</p><p>= Equal a = b <br>+= Sync by adding a = a + b <br>-= Sync by Subtracting a = a — b <br>*= Multiply Equal a = a * b <br>/= Divide Equal a = a / b <br>%= Sync with Mod a = a % b <br>**= Equal Exponentiation a = a ** b <br> //= Equal Divide Exactly a = a // b</p><p><strong><em>3. Comparison Operators</em></strong><br>With Python comparison operators, you can compare numbers with their greater, lesser, and equal expressions. You can examine the following example usages over the variables a=5 and b=2.</p><p>== Is it equal a == b # False<br>!= Isn’t it equal a != b # True<br>&gt; Is it big a &gt; b # True<br>&lt; Is it small a &lt; b # False<br>&gt;= Is it equal to big a &gt;= b # True<br>&lt;= Small is equal a &lt;= b # False</p><p>You have reached the end of the introduction. I hope you enjoyed it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oowXTzyUazaR59aNKil85g.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a1e19359aaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>