<?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 Tunahan Ulusoy on Medium]]></title>
        <description><![CDATA[Stories by Tunahan Ulusoy on Medium]]></description>
        <link>https://medium.com/@tunaai?source=rss-61a569b488e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1WUFW_fVaVjTBNX_K7hsMQ.png</url>
            <title>Stories by Tunahan Ulusoy on Medium</title>
            <link>https://medium.com/@tunaai?source=rss-61a569b488e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:19:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tunaai/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[Data Journey | Flight-001 ✈]]></title>
            <link>https://medium.com/@tunaai/data-journey-flight-001-13393014ac73?source=rss-61a569b488e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/13393014ac73</guid>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Tunahan Ulusoy]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 21:31:50 GMT</pubDate>
            <atom:updated>2022-10-16T09:42:43.742Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tKswhvIK7kVD4cITKmWLdg.jpeg" /></figure><p>- Bobi: Hey, look, man, let’s make a deal.<br>- Me: What happened Bobi?<br>- Bobi: Man, let’s stop these life advice sentences, let’s talk technical.<br>- Me: Our previous article was a bit like that. But Bobi I say:<br>The power to process data worldwide is doubling every 18 months and maybe even more. If the data processing power is increasing, I think there is data that represents everyone on earth. Why not create objective ways and solutions? In a high school, a university, a workplace, a city, or even a country… Do you see how Donald Trump won the American elections?<br>- Bobi: Okay, I get it, you like to play with data.<br>- Me: Like 😊</p><p>Today I want to start with one of the cornerstones.</p><h3><strong><em>Data Structures</em></strong></h3><p>- Bobi: Oops, but it’s been written a lot, isn’t there something different? It wouldn’t be bad if there was a CRM Analytics article series like this.<br>- Me: Don’t be angry Bobi! Yes, you are right, but actually, we know, if we want to advance in the field of data, we need to know Data Structures very well. What if I write once to Bobi 😊</p><p>Data structures enable data to be stored and managed electronically. Let’s see what they are right now.</p><figure><img alt="Data Structures" src="https://cdn-images-1.medium.com/max/822/1*CCxveSuiK8mMvujHPxGiLw.jpeg" /><figcaption><a href="https://media.geeksforgeeks.org/wp-content/uploads/20191023173512/Python-data-structure.jpg">https://media.geeksforgeeks.org/wp-content/uploads/20191023173512/Python-data-structure.jpg</a></figcaption></figure><h4><strong>Integer</strong></h4><p>Integers become zero, negative, and positive, but no fractional part. Let’s also learn that we use type to learn the class of the variable.</p><pre>&gt;&gt;&gt; x = 0</pre><pre>&gt;&gt;&gt; type(x)<br>&lt;class &#39;int&#39;&gt;</pre><pre>&gt;&gt;&gt; x = 10</pre><pre>&gt;&gt;&gt; type(x)<br>&lt;class &#39;int&#39;&gt;</pre><pre>&gt;&gt;&gt; x = -10</pre><pre>&gt;&gt;&gt; type(x)<br>&lt;class &#39;int&#39;&gt;</pre><p>Integers cannot be led by 0, so a value cannot be 035. But something is an exception: 000 is 0 or 00000 is 0.</p><p>We cannot use commas for number delimiter. This isn’t math, this is Python. Python says: “use underscore”.</p><pre>&gt;&gt;&gt; x = 2_022</pre><pre>&gt;&gt;&gt; x<br>2022</pre><p>I’m just going with float.</p><h4>Float</h4><p>This time we now have the fractional cut. We will use the decimal sign. I’m pasting an example of this as well.</p><pre>&gt;&gt;&gt; x = 1.2</pre><pre>&gt;&gt;&gt; type(x)<br>&lt;class &#39;float&#39;&gt;</pre><pre>&gt;&gt;&gt; x = 0.5</pre><pre>&gt;&gt;&gt; type(x)<br>&lt;class &#39;float&#39;&gt;</pre><p>Let’s have a question: 0.0 == 0 ?<br>Hint: “==” checks the equality of the two expressions to the left and right.</p><p>- Bobi: Come on, answer yourself, the article will be too long, there is no time to think.<br>- Me: Your excuse is great 😂</p><p>Yes, it is equal, you can try it too if you want. But there is a difference:</p><pre>&gt;&gt;&gt; 0.0 == 0<br>True</pre><pre>&gt;&gt;&gt; type(0.0)<br>&lt;class &#39;float&#39;&gt;</pre><pre>&gt;&gt;&gt; type(0)<br>&lt;class &#39;int&#39;&gt;</pre><h4><strong>Complex</strong></h4><p>First of all, I have a question. Can someone who uses this give feedback? 😂</p><p>Complex numbers consist of two parts: real and imaginary.</p><p>I give an example:</p><pre>&gt;&gt;&gt; x = 1 + 2j</pre><pre>&gt;&gt;&gt; type(x)<br>&lt;class &#39;complex&#39;&gt;</pre><p>- Me: Use j or J for the Bobi imaginary component, or you’ll get a syntax error.<br>- Bobi: Okay, smarty!</p><p>We have now finished numeric types.</p><h4>Boolean</h4><p>In a meeting I had recently, it was something that I became much more aware of. Everything is bool actually. It’s perfect 💪🏻</p><p>- Bobi: You like to show off with such sentences.<br>- Me: You’re right Bobi, I do that sometimes.</p><p>A bool value is True or False. Indicates the truth value of expressions.</p><pre>&gt;&gt;&gt; 1 == 1<br>True</pre><pre>&gt;&gt;&gt; 1 &gt; 10<br>False</pre><p>If True == 1 and False == 0, and our lives are filled with the values ​​0 and 1, we can say “Bool is everything”.</p><p>Have you heard of the phrase “Python Collections”? I would like to examine some of them under the heading of data types.</p><h4>List</h4><p>I want to write about critical situations immediately.</p><ul><li>Lists are expressed with brackets.</li><li>Lists are mutable types.</li><li>Different data types can be found in the list, they are inclusive structures.</li><li>Lists are ordered.</li></ul><p>- Me: Bobi, I want to use your name.<br>- Bobi: You play nice to the audience.<br>- Me: 😉</p><pre>&gt;&gt;&gt; BobiList = [] # empty list</pre><pre>&gt;&gt;&gt; BobiList = [1, 2, 2.5, True] # inclusive or heterogeneous</pre><p>Let’s focus on critical situations.</p><p>We probably understood the first item with examples.</p><p>So what exactly is a mutable type?</p><p>Lists can be changed, they can be manipulated. How does? We can operate with indices in lists. Indices in lists start from 0. First, let’s look at how we access items with indices.</p><pre>&gt;&gt;&gt; BobiList = [1, 2, 2.5, True]</pre><pre>&gt;&gt;&gt; BobiList[0]<br>1</pre><pre>&gt;&gt;&gt; BobiList[3]<br>True</pre><p>So how do we change items?</p><pre>&gt;&gt;&gt; BobiList[0] = 999 # 1 has changed to 999</pre><pre>&gt;&gt;&gt; BobiList<br>[999, 2, 2.5, True]</pre><p>So what does ordered mean? I’ll explain this when I explain the concepts of tuples and sets.</p><p>There are some methods we can use on lists: append(), insert(), remove(), pop(), etc.</p><p>We can add a new element to the list with append() and insert(). The difference is that while append() adds to the end of the list, insert() adds an element to the index we specify.</p><pre>&gt;&gt;&gt; BobiList.append(5)</pre><pre>&gt;&gt;&gt; BobiList<br>[999, 2, 2.5, True, 5]</pre><pre>&gt;&gt;&gt; BobiList.insert(1, 15) # first index became 15</pre><pre>&gt;&gt;&gt; BobiList<br>[999, 15, 2, 2.5, True, 5]</pre><p>We can delete elements from the list with remove() and pop(). While the item value is given as input to the remove method, the index is given to the pop method.</p><pre>&gt;&gt;&gt; BobiList.remove(999)</pre><pre>&gt;&gt;&gt; BobiList<br>[15, 2, 2.5, True, 5]</pre><pre>&gt;&gt;&gt; BobiList.pop(4)<br>True</pre><pre>&gt;&gt;&gt; BobiList<br>[15, 2, 2.5, 5]</pre><h4>Tuple</h4><p>- Bobi: Man, this post wouldn’t be too long, would it?<br>- Me: Bobi, I only handle critical situations.<br>- Bobi: You’re great, but don’t be spoiled for saying that.<br>- Me: 😂</p><p>I take the criticism right away.</p><ul><li>Tuples are expressed with parentheses.</li><li>Tuples are immutable types.</li><li>Tuples are inclusive like lists.</li><li>Tuples are ordered.</li></ul><p>I want to remind you again. We will look at the concept of ordered after explaining tuple and set.</p><p>What is different here is the notation and the concept of “immutable”. I think you understand the difference in notation. I’ll explain a little bit about the concept of “immutable”.</p><p>I define first.</p><pre>&gt;&gt;&gt; BobiTuple = () # empty tuple</pre><pre>&gt;&gt;&gt; BobiTuple = (1, 2, 3, 4.5, False) # heterogeneous tuple</pre><pre>&gt;&gt;&gt; BobiTuple<br>(1, 2, 3, 4.5, False)</pre><pre>&gt;&gt;&gt; type(BobiTuple)<br>&lt;class &#39;tuple&#39;&gt;</pre><p>- Me: Shall I make it easy, Bobi?<br>- Bobi: My favorite thing.</p><p>We can define tuples without using parentheses. This is a promotion of tuple to us.</p><pre>&gt;&gt;&gt; BobiTuple = 1, 2, 3, 4.5, False</pre><pre>&gt;&gt;&gt; BobiTuple<br>(1, 2, 3, 4.5, False)</pre><p>And there is one thing we need to pay attention to:</p><p>If we want to define a single-element tuple, we need to define it with commas. If not defined, the data type is the type of the element, not the tuple. It will become clearer with an example.</p><pre>&gt;&gt;&gt; BobiTuple = (2)</pre><pre>&gt;&gt;&gt; type(BobiTuple)<br>&lt;class &#39;int&#39;&gt;</pre><pre>&gt;&gt;&gt; BobiTuple = 2,</pre><pre>&gt;&gt;&gt; type(BobiTuple)<br>&lt;class &#39;tuple&#39;&gt;</pre><p>Access to elements is as in lists.</p><pre>&gt;&gt;&gt; BobiTuple = 1, 2, 3, 4.5, False</pre><pre>&gt;&gt;&gt; BobiTuple[2]<br>3</pre><p>The max index value in this tuple is 4. What error do we get if we check the 5th index?</p><pre>&gt;&gt;&gt; BobiTuple[5]<br>Traceback (most recent call last):<br>File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>IndexError: tuple index out of range</pre><p>- Bobi: Hey man, you said immutable but you still haven’t told me.<br>- Me: Okay, calm down Bobi, I just got there.</p><p>Tuples cannot be changed. To change it, you need to convert it to a mutable data structure. After the change, we need to convert the tuple again. In short, a…</p><p>- Bobi: Hey Tuna, you’re lost, first show that you can’t be changed<br>- Me: You’re right, man.</p><pre>&gt;&gt;&gt; BobiTuple = 1, 2, 3, 4.5, False</pre><pre>&gt;&gt;&gt; BobiTuple[2] = 999<br>Traceback (most recent call last):<br> File “&lt;stdin&gt;”, line 1, in &lt;module&gt;<br>TypeError: ‘tuple’ object does not support item assignment</pre><p>When it is requested to change, we learn that the item assignment is not supported.</p><p>So we can’t delete it?</p><p>Let&#39;s try us if you want.</p><pre>&gt;&gt;&gt; BobiTuple = 1, 2, 3, 4.5, False</pre><pre>&gt;&gt;&gt; del BobiTuple[0]<br>Traceback (most recent call last):<br> File “&lt;stdin&gt;”, line 1, in &lt;module&gt;<br>TypeError: ‘tuple’ object doesn’t support item deletion</pre><p>So how do we make changes?</p><pre>&gt;&gt;&gt; BobiList = list(BobiTuple)</pre><pre>&gt;&gt;&gt; BobiList[2] = 999</pre><pre>&gt;&gt;&gt; BobiTuple = tuple(BobiList)</pre><pre>&gt;&gt;&gt; BobiTuple<br>(1, 2, 999, 4.5, False)</pre><p>First, let’s remember that lists are mutable. Then let the tuple become a list. Yes, we are using constructors here. So list() and tuple(). We may not know what a constructor is, but for now, it is useful to know how it is done.</p><p>We converted the tuple into a list, we saw the assignment process in the list topic. I’m assigning the value of 999 to the 2nd index. After the change is complete, we convert the list to a tuple. The process is completed here.</p><p>- Bobi: This tuple is so stubborn!!!<br>- Me: A bit like that 😊</p><h4>Set</h4><p>- Me: Are you tired, Bobi?<br>- Bobi: Me? Ahahaha, nothing will happen to me, go ahead.<br>- Me: Nice!</p><p>So let’s start with the critiques:</p><ul><li>Displayed with curly brackets.</li><li>Sets are mutable types.</li><li>Sets are out of order.</li><li>Sets are also inclusive, like tuples and lists.</li><li>Duplicate elements cannot be stored in sets.</li></ul><p>We will see that in the dictionary topic that we will see in the future, we will see that the representation is with curly brackets. Let me give an example of a dictionary to understand the difference:</p><pre>&gt;&gt;&gt; a_dict = {“a” : 1, “b” : 2}</pre><pre>&gt;&gt;&gt; type(a_dict)<br>&lt;class ‘dict’&gt;</pre><p>But in sets, elements are separated by commas. Example:</p><pre>&gt;&gt;&gt; a_set = {1, 2, 3}</pre><pre>&gt;&gt;&gt; type(a_set)<br>&lt;class ‘set’&gt;</pre><p>By default, the type or class of this representation is dict.</p><pre>&gt;&gt;&gt; a_dict = {}</pre><pre>&gt;&gt;&gt; type(a_dict)<br>&lt;class ‘dict’&gt;</pre><p>Also, if we want to define a set, we can use the following expression.</p><pre>&gt;&gt;&gt; s = set() # empty set</pre><p>You can make changes to the sets with some methods.</p><p>What is this ordered and unordered?</p><pre>&gt;&gt;&gt; a_list = [4,7,5,3,2]</pre><pre>&gt;&gt;&gt; a_tuple = (4,7,5,3,2)</pre><pre>&gt;&gt;&gt; a_set = {4,7,5,3,2}</pre><pre>&gt;&gt;&gt; a_list<br>[4, 7, 5, 3, 2]</pre><pre>&gt;&gt;&gt; a_tuple<br>(4, 7, 5, 3, 2)</pre><pre>&gt;&gt;&gt; a_set<br>{2, 3, 4, 5, 7}</pre><p>If we look at the results, we get the output with the initial order we give in the list and tuple. So they are ordered collections. But not for this set. In other words, it is an unordered collection.</p><p>So what does an unordered data type allow? You cannot perform indexing and slicing operations.</p><p>- Bobi: Hey you, you didn’t mention slicing through.<br>- Me: You’re very comfortable, Bobi, try to find it yourself 😊</p><p>So what is non-repetition?</p><p>In short, there cannot be more than one of the same element in a set. In fact, sets in Python are no different from sets in mathematics. difference() for difference operations, union() for union, intersection() for intersection, etc. we use methods.</p><p>An example of non-repetition:</p><pre>&gt;&gt;&gt; a_set = {1, 2, 3, 3, 2, 2, 5.5}</pre><pre>&gt;&gt;&gt; a_set<br>{1, 2, 3, 5.5}</pre><p>Yes, magic is coming!!!</p><pre>&gt;&gt;&gt; a_set = {0, 1, 2, 3, 3, 2, 5.5, False, True}</pre><pre>&gt;&gt;&gt; a_set<br>{0, 1, 2, 3, 5.5}</pre><p>- Bobi: What happened to the friend bool values?<br>- Me: I’ll explain right away.</p><pre>&gt;&gt;&gt; 1 == True<br>True</pre><pre>&gt;&gt;&gt; 0 == False<br>True</pre><p>And the set object says: “I already have 0 and 1, I can destroy your bool values. I don’t show them, Bobi.”</p><p>- Bobi: Artist 😠<br>- Me: 😂</p><p>Sets are mutable. add(), remove(), update() methods can be used.</p><p>Sets are also inclusive but partial. Sets accept integer, float, complex, string, and tuple data types as elements. But it does not accept list, set, and dictionary data types. So we accept immutable types but not mutable types.</p><h4>Dict</h4><p>Dictionary is a data type that works with the “key: value” principle.</p><p>- Bobi: Get the critics right away.<br>- Me: Hey Assistant, can you get the critiques for Bobi?</p><ul><li>The display is done with curly brackets.</li><li>Dictionaries are unordered but have been updated and ordered after Python 3.7.</li><li>We can say that it is partially inclusive like sets. Key and value behave differently.</li></ul><p>Just to give an example:</p><pre>&gt;&gt;&gt; a_Dict = {“Bobi” : “50”, “Tuna” : 25}</pre><pre>&gt;&gt;&gt; type(a_Dict)<br>&lt;class ‘dict’&gt;</pre><p>Here, the key values ​​are “Bobi” and “Tuna”, and the value values ​​are 50 and 25.</p><p>If we want to define an empty dictionary:</p><pre>&gt;&gt;&gt; d = dict() # empty dict</pre><p>- Bobi: Is it possible to make changes?<br>- Me: Of course, it is a mutable type. Changes can be made both on the key value and on the value.</p><p>Let’s look at inclusivity. Key does not accept mutable objects. Value accepts all types.</p><pre>&gt;&gt;&gt; a_Dict = {[“Bobi”, “Tuna”] : 50, “A_Person” : 30}<br>Traceback (most recent call last):<br> File “&lt;stdin&gt;”, line 1, in &lt;module&gt;<br>TypeError: unhashable type: ‘list’</pre><pre>&gt;&gt;&gt; a_Dict = {{“Bobi”, “Tuna”} : 50, “A_Person” : 30}<br>Traceback (most recent call last):<br> File “&lt;stdin&gt;”, line 1, in &lt;module&gt;<br>TypeError: unhashable type: ‘set’</pre><p>Here we can see that list and set cannot be keys.</p><p>But tuples can be key.</p><pre>&gt;&gt;&gt; a_Dict = {(“Bobi”, “Tuna”) : [50, 25], “A_Person” : 30}</pre><pre>&gt;&gt;&gt; a_Dict<br>{(‘Bobi’, ‘Tuna’): [50, 25], ‘A_Person’:30}</pre><p>So what happens if the keys are the same?</p><p>Let’s take a quick look at an example:</p><pre>&gt;&gt;&gt; a_Dict = {“A” : 10, “B” : 15, “A” : 15}</pre><pre>&gt;&gt;&gt; a_Dict<br>{‘A’: 15, ‘B’: 15}</pre><p>Yes, we do not get an error, we only see that the last defined value for that key value is assigned.</p><p>- Me: How do we access the data, Bobi?<br>- Bobi: In short, take a direct hit.<br>- Me: Whatever you want, it’s coming, catch it 🔫</p><p>If we want to access the value using the key, we have two ways:</p><pre>&gt;&gt;&gt; a_Dict = {“A” : 10, “B” : 15, “C” : 15}</pre><pre>&gt;&gt;&gt; a_Dict[“A”]<br>15</pre><pre>&gt;&gt;&gt; a_Dict.get(“A”)<br>15</pre><p>The first way is very clear, here I use the get() method differently. We give the key as input and it gives us its values ​​as output.</p><p>If we want changes:</p><pre>&gt;&gt;&gt; a_Dict = {“A” : 10, “B” : 15, “C” : 15}<br><br>&gt;&gt;&gt; a_Dict[“C”] = 20</pre><pre>&gt;&gt;&gt; a_Dict<br>{‘A’: 10, ‘B’: 15, ‘C’: 20}</pre><p>And we can also use the update() method. Please search.</p><p>- Me: Isn’t it clear, Bobi?<br>- Bobi: It’s clear, what’s left?</p><p>Then comes the last thing:</p><p>There are some other methods that the dict class provides us with:</p><pre>&gt;&gt;&gt; a_Dict = {“A” : 10, “B” : 15, “C” : 15}</pre><pre>&gt;&gt;&gt; a_Dict.keys()<br>dict_keys([‘A’, ‘B’, ‘C’])</pre><pre>&gt;&gt;&gt; a_Dict.values()<br>dict_values([10, 15, 15])</pre><pre>&gt;&gt;&gt; a_Dict.items()<br>dict_items([(‘A’, 10), (‘B’, 15), (‘C’, 15)])</pre><p>In short, we can access items, keys, and values ​​with these methods.</p><p>Yes, we have completed the first step of our journey. In this article, we did not include strings, which are a data type. We will include strings in the next article of the series. The journey is long, but Bobi and I don’t have much time. We need to move forward with smart and very firm steps.</p><p>- Me and Bobi: I hope you like our article, have a nice read, and see you soon.</p><p>Thanks, Data Types 🙏🏻</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13393014ac73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Use Data” for a Fairer World]]></title>
            <link>https://medium.com/@tunaai/use-data-for-a-fairer-world-19a9be88f52b?source=rss-61a569b488e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/19a9be88f52b</guid>
            <category><![CDATA[people]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[fair]]></category>
            <dc:creator><![CDATA[Tunahan Ulusoy]]></dc:creator>
            <pubDate>Wed, 05 Oct 2022 18:50:39 GMT</pubDate>
            <atom:updated>2022-10-05T18:50:39.164Z</atom:updated>
            <content:encoded><![CDATA[<p>Dear Passengers, welcome onboard f”Flight {your_name}{your_lucky_number}”</p><p>Yes, it was a different entry 😊 But for some reason, it was much more impressive for me that in many articles I read, people said something that came from their hearts and made such an entry. Their sentences, their humor, and maybe more that I didn’t realize…</p><p>I’m Tuna, you don’t have to wonder where I work. Because it’s not like that, if you are very curious, I will share a link for you at the end of the article.</p><p>I decided to go on a journey ✈️</p><p>- “Oh, again a psychologist or something, but I came here to learn about other subjects.”<br>- “Yes, yes that’s the place” 😊</p><p>Being stable in a changing world must be a terrible thing. At least that’s how it is for me.</p><p>- “Hey World, I’m changing too, I’ll catch up with you and be a part of the next changes.”</p><p>I’ve been encountering things lately that will enlighten me. And I say these words to myself. Of course, these are a bit of a film version 😉 And when I’m asking why these things stay inside me, thinking that it would be better to share… Maybe someone will start with you, huh? Maybe he tried before but failed, maybe he wants to try again, huh? And maybe it’s on the way but it needs fuel, huh? Why not? Or just let them read, a smile on their face…</p><p>I had a list like this:</p><p>&gt;&gt;&gt; myList = [<br>“What happened”,<br>“How are you doing”,<br>“What do you want it to be, what is your goal”,<br>“What do you need on this road”,<br>“Let’s go ✈️”<br>]</p><p>After that, I stopped asking myself what was bad.</p><p>&gt;&gt;&gt; myList.pop(0)</p><p>Checking the list:</p><p>&gt;&gt;&gt; print(len(myList))</p><p>Yeap, it’s gone, we got rid of most of the negative stuff 😊</p><p>Shouldn’t we gradually remove the traces left by negative things on us?</p><p>Come on man, you can do it 💪🏻</p><p>&gt;&gt;&gt; myList.pop(0)</p><p>Wow, all the toxic stuff is gone 🔫</p><p>The past is gone now.</p><p>And I started thinking what do I want, what is the solution to this? I researched a lot. And finally, I realized what I wanted. I prefer to share this at the end of the article. I’m removing this element from my list, but I must not forget it. At least I can keep it somewhere a little safer, I can remember faster.</p><p>&gt;&gt;&gt; myTuple = ()<br>&gt;&gt;&gt; myTuple = myTuple + (myList.pop(0),)</p><p>And while getting to this point, some people are giving very good support. I can’t expect it to be the same for everyone. But for me, I have my must-have friends on this list.</p><p>&gt;&gt;&gt; myTuple = myTuple + (“My Best Friend”,)<br>&gt;&gt;&gt; myTuple = myTuple + (“My Family”,)</p><p>What do I have with me for the trip?</p><p>&gt;&gt;&gt; myList<br>[‘What do you need on this road’, ‘Let’s go ✈️’]<br>&gt;&gt;&gt; myTuple<br>(‘What do you want it to be, what’s your goal’, ‘My Best Friend’, ‘My Family’)</p><p>I also wish you could see how fast my blood flowed while listening to “My Hero | Westlife” 😊</p><p>I wrote down what I needed on the way to a solution in a top-secret notebook. We love the word “secret” so much 😂</p><p>&gt;&gt;&gt; myList.pop(0)</p><p>I think I can go now, heh, what do you think?</p><p>&gt;&gt;&gt; myList.pop(0)</p><p>As a result, what will I carry with me during my journey?</p><p>&gt;&gt;&gt; myTuple<br>(‘What do you want it to be, what’s your goal’, ‘My Best Friend’, ‘My Family’)</p><p>I want life to be a fairer place with data. I want this just life wherever our eyes can see and cannot see. In the age of data, it cannot happen with the decisions that come from the mouths of a few people around us, not with a few people saying “I know better”. By analyzing the data, looking at the patterns in the data, and looking at the outputs of the ML models, I want decisions to be made with these outputs that represent everyone. For a fairer world…</p><ul><li>Thanks, Python, List, Tuple 🙏🏻</li></ul><p>I share it for you my friend who is wondering:</p><p><a href="https://www.linkedin.com/in/tunahanulusoy">https://www.linkedin.com/in/tunahanulusoy</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19a9be88f52b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>