<?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 Nothan on Medium]]></title>
        <description><![CDATA[Stories by Nothan on Medium]]></description>
        <link>https://medium.com/@raja.hadi.ashraf?source=rss-d7646e9ff7f8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MOYJZ07npQzv4HhHBzDPcA.jpeg</url>
            <title>Stories by Nothan on Medium</title>
            <link>https://medium.com/@raja.hadi.ashraf?source=rss-d7646e9ff7f8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:22:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raja.hadi.ashraf/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[Why Meditation is Necessary ?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@raja.hadi.ashraf/why-meditation-is-necessary-4054286cb950?source=rss-d7646e9ff7f8------2"><img src="https://cdn-images-1.medium.com/max/2600/1*7-FpyhRHbltu8rU4m4Vilg.jpeg" width="5904"></a></p><p class="medium-feed-snippet">In today&#x2019;s fast-paced world, stress and anxiety have become a part of our daily lives. With constant demands from work, family, and social&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@raja.hadi.ashraf/why-meditation-is-necessary-4054286cb950?source=rss-d7646e9ff7f8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@raja.hadi.ashraf/why-meditation-is-necessary-4054286cb950?source=rss-d7646e9ff7f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4054286cb950</guid>
            <category><![CDATA[meditation]]></category>
            <category><![CDATA[self-care]]></category>
            <category><![CDATA[self-love]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[mental-health-awareness]]></category>
            <dc:creator><![CDATA[Nothan]]></dc:creator>
            <pubDate>Tue, 24 Jan 2023 18:42:25 GMT</pubDate>
            <atom:updated>2023-01-24T18:42:25.787Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Are you feeling Depressed ?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@raja.hadi.ashraf/are-you-feeling-depressed-1cf9cb6b3e7e?source=rss-d7646e9ff7f8------2"><img src="https://cdn-images-1.medium.com/max/2600/1*R9m7Dmsv_G_xtvMkD30-OQ.jpeg" width="4000"></a></p><p class="medium-feed-snippet">Depression is a serious mental health condition that affects millions of people worldwide.</p><p class="medium-feed-link"><a href="https://medium.com/@raja.hadi.ashraf/are-you-feeling-depressed-1cf9cb6b3e7e?source=rss-d7646e9ff7f8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@raja.hadi.ashraf/are-you-feeling-depressed-1cf9cb6b3e7e?source=rss-d7646e9ff7f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1cf9cb6b3e7e</guid>
            <category><![CDATA[depression-treatment]]></category>
            <category><![CDATA[tips-for-depression]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[depression]]></category>
            <dc:creator><![CDATA[Nothan]]></dc:creator>
            <pubDate>Tue, 24 Jan 2023 16:16:48 GMT</pubDate>
            <atom:updated>2023-01-24T16:16:48.942Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Basics of Python Programming]]></title>
            <link>https://medium.com/@raja.hadi.ashraf/basics-of-python-programming-d440c5454d6?source=rss-d7646e9ff7f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d440c5454d6</guid>
            <category><![CDATA[introduction-to-python]]></category>
            <category><![CDATA[basic-python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Nothan]]></dc:creator>
            <pubDate>Tue, 24 Jan 2023 14:56:44 GMT</pubDate>
            <atom:updated>2023-01-24T14:56:44.163Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MOYJZ07npQzv4HhHBzDPcA.jpeg" /></figure><p>Python is a popular, open-source programming language that is widely used for web development, data analysis, artificial intelligence, and scientific computing. It is known for its simplicity, readability, and flexibility.</p><h3><strong>Getting Started with Python:</strong></h3><ol><li>First, you will need to install Python on your computer. You can download the latest version of Python from the official website (<a href="https://www.python.org/downloads/">https://www.python.org/downloads/</a>).</li><li>Once Python is installed, you can start the interactive Python interpreter by opening the terminal or command prompt and typing “python” (without the quotes). This will allow you to type Python commands and see the results immediately.</li><li>To write a Python script, you can create a new text file with the “.py” extension and type your Python code into it. For example, you can create a file called “hello.py” and type the following code into it:</li></ol><pre>print(&quot;Hello, World!&quot;)</pre><p>To run the script, open the terminal, navigate to the directory where the script is located, and type “python hello.py” (without the quotes). This will run the script and display the message “Hello, World!” on the screen.</p><h3><strong>Basic Syntax:</strong></h3><ol><li>Python uses indentation to indicate code blocks, rather than curly braces or keywords like “begin” and “end”. This means that you must be consistent with your indentation in order for your code to work properly.</li><li>Python uses the “#” symbol to indicate a comment. Anything following a “#” on a line will be ignored by the interpreter.</li><li>Python variables do not need to be declared before they are used. You can simply assign a value to a variable and start using it. For example:</li></ol><pre>x = 5 print(x)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kfoPFdqIrB2atFpRHiFEYQ.jpeg" /></figure><p>Python supports a variety of data types, including numbers (integers and floating-point), strings, lists, and dictionaries. For example:</p><h4>Numbers</h4><pre>x = 5 <br>y = 3.14</pre><h4>Strings</h4><pre>name = &quot;John Smith&quot;</pre><h4>Lists</h4><pre>numbers = [1, 2, 3, 4, 5]</pre><h4>Dictionaries</h4><pre>person = {&quot;name&quot;: &quot;John Smith&quot;, &quot;age&quot;: 30}</pre><p>Python supports a wide range of operators, such as +, -, *, /, %, and ** for arithmetic, and ==, !=, &gt;, &lt;, &gt;=, &lt;= for comparison.</p><h3>Control Flow:</h3><p>Python uses the keywords “if”, “elif”, and “else” to control the flow of a program based on certain conditions. For example:</p><pre>x = 5 <br>if x &gt; 0: <br> print(&quot;x is positive&quot;) <br>elif x &lt; 0: <br> print(&quot;x is negative&quot;) <br>else: <br> print(&quot;x is zero&quot;)</pre><p>Python also supports “while” loops, which will continue to execute as long as a certain condition is true. For example:</p><pre>x = 5 <br>while x &gt; 0: <br> print(x) <br> x -= 1</pre><p>Python also supports “for” loops, which can be used to iterate over a sequence of elements. For example:</p><pre>numbers = [1, 2, 3, 4, 5] <br>for number in numbers: <br> print(number)</pre><h3><strong>Functions:</strong></h3><p>Python allows you to define your own functions, which can be called to perform specific tasks. For example:</p><pre>def say_hello(): <br>print(&quot;Hello, World!&quot;)<br><br><br>say_hello()</pre><h3>Modules and Libraries:</h3><p>Python comes with a wide variety of built-in modules, which provide additional functionality beyond the core language. For example, the “math” module provides mathematical functions like sin, cos, and sqrt. To use a module, you must first import it using the “import” keyword. For example:</p><pre>import math<br> <br>x = math.sin(math.pi / 2) <br>print(x)</pre><p>There are also many third-party libraries available for Python, which can be easily installed using a package manager like pip. For example, the popular data analysis library pandas can be installed by running “pip install pandas” in the terminal. Once installed, it can be imported and used in your code just like a built-in module.</p><p>Some popular libraries in python are NumPy, pandas, Matplotlib, Scikit-learn, Tensorflow, Keras, etc. These libraries provide various functionalities like data manipulation, visualization, machine learning, deep learning, etc.</p><h3>File I/O:</h3><p>Python provides built-in functions for reading and writing files. For example, the “open” function can be used to open a file for reading or writing. The “read” and “write” methods can then be used to read and write data to the file. For example:</p><h4>Open a file for writing</h4><pre>file = open(&quot;example.txt&quot;, &quot;w&quot;)</pre><h4>Write data to the file</h4><pre>file.write(&quot;Hello, World!&quot;)</pre><h4>Close the file</h4><pre>file.close()</pre><h4>Open a file for reading</h4><pre>file = open(&quot;example.txt&quot;, &quot;r&quot;)</pre><h4>Read data from the file</h4><pre>data = file.read() print(data)</pre><h4>Close the file</h4><pre>file.close()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pMJaNdtjRu73NMgM8kdAIQ.jpeg" /></figure><h3>Error Handling:</h3><p>Python provides the “try” and “except” keywords for handling errors and exceptions. For example:</p><pre>try: <br>x = 5 / 0 <br>except <br>ZeroDivisionError: print(&quot;Cannot divide by zero&quot;)</pre><p>You can also raise your own exceptions by using the “raise” keyword. For example:</p><pre>def divide(a, b): <br>if b == 0: <br>raise ValueError(&quot;Cannot divide by zero&quot;) <br>return a / b<br><br>try: <br>result = divide(5, 0) <br>except ValueError as e: <br>print(e)</pre><p>This is just a brief introduction to Python programming. There are many more features and concepts to learn, such as classes and objects, regular expressions, and decorators. It’s recommended to practice writing code and solving problems to get better at Python programming.</p><h3>Advanced Concepts:</h3><p><strong>Classes and Objects:</strong> Python supports object-oriented programming (OOP), which allows you to define custom classes that can be used to create objects with specific behavior and data. Classes are defined using the “class” keyword and can have methods (functions that belong to a class) and attributes (variables that belong to a class). For example:</p><pre>class Dog: <br>def init(self, name, breed): <br>self.name = name <br>self.breed = breed<br><br>def bark(self):<br>print(&quot;Woof! Woof!&quot;)</pre><pre>dog1 = Dog(&quot;Fido&quot;, &quot;Golden Retriever&quot;) <br>dog1.bark()</pre><p><strong>Regular Expressions:</strong> Python provides built-in support for regular expressions, which are a powerful tool for matching patterns in text. The “re” module provides functions for working with regular expressions. For example:</p><pre>import re</pre><h4>Search for a pattern in a string</h4><pre>result = re.search(&quot;hello&quot;, &quot;Hello, World!&quot;) <br>print(result)</pre><h4>Find all occurrences of a pattern in a string</h4><pre>result = re.findall(&quot;o&quot;, &quot;Hello, World!&quot;) <br>print(result)</pre><p><strong>Decorators:</strong> Python allows you to define decorators, which are special functions that can be used to modify the behavior of other functions. Decorators are defined using the “@” symbol and are applied to other functions using the “def” keyword. For example:</p><pre>def my_decorator(func): <br>def wrapper(): <br>print(&quot;Before the function call&quot;) <br>func() <br>print(&quot;After the function call&quot;) <br>return wrapper<br><br><br>@my_decorator <br>def say_hello(): <br>print(&quot;Hello, World!&quot;)<br><br><br>say_hello()</pre><p>This will output “Before the function call”, “Hello, World!”, and “After the function call”</p><p><strong>Generators: </strong>Python allows you to define generators, which are special functions that can be used to generate a sequence of values on the fly. Generators are defined using the “yield” keyword and are typically used in conjunction with the “for” loop. For example:</p><pre>def my_generator(): <br>for i in range(5): <br>yield i<br><br>for value in my_generator(): <br>print(value)</pre><p>This will output 0, 1, 2, 3, 4</p><p><strong>Iterators:</strong> Python allows you to define iterators, which are objects that can be used to iterate over a sequence of values. Iterators are defined using the “iter” and “next” functions and are typically used in conjunction with the “for” loop. For example:</p><pre>my_list = [1, 2, 3, 4, 5] <br>my_iterator = iter(my_list)<br><br><br>print(next(my_iterator)) <br>print(next(my_iterator))</pre><p><strong>Context Managers:</strong> Python allows you to define context managers, which are objects that can be used to manage resources like files and database connections. Context managers are defined using the “with” keyword and the special methods “enter” and “exit”. For example:</p><pre>with open(&quot;example.txt&quot;, &quot;r&quot;) as file: <br>data = file.read() <br>print(data)</pre><p>This will open the file “example.txt” in read mode, read the data, print the data and then close the file.</p><h3>Conclusion:</h3><p>In conclusion, Python is a powerful and versatile programming language that is widely used in web development, data analysis, artificial intelligence, and scientific computing. Its simplicity, readability, and flexibility make it a great choice for both beginners and experienced programmers. The tutorial provided a brief introduction to the basics of Python programming, including data types, control flow, functions, modules, and file I/O. It also covered some of the advanced concepts such as classes and objects, regular expressions, decorators, generators, iterators, and context managers. However, this is just the tip of the iceberg, and there are many more features and concepts to learn. The best way to get better at Python programming is to practice writing code and solving problems. With time and experience, you will become a proficient Python programmer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d440c5454d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Will Artificial Intelligence (AI) ever take over ?]]></title>
            <link>https://medium.com/@raja.hadi.ashraf/will-artificial-intelligence-ai-ever-take-over-11f8a7a0ca33?source=rss-d7646e9ff7f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/11f8a7a0ca33</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-development]]></category>
            <dc:creator><![CDATA[Nothan]]></dc:creator>
            <pubDate>Tue, 24 Jan 2023 13:25:30 GMT</pubDate>
            <atom:updated>2023-01-24T13:25:30.460Z</atom:updated>
            <content:encoded><![CDATA[<h3>Will Artificial Intelligence (AI) ever take over ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*niOJ2tw5NNHgum9S0CPUbg.jpeg" /></figure><p>Artificial intelligence (AI) is a rapidly advancing technology that has the potential to revolutionize many industries and aspects of our lives. One of the most frequently asked questions about AI is whether or not it will ever “take over” human jobs or even become more intelligent than humans.</p><p>There is no doubt that AI is already being used to automate many tasks that were previously done by humans. For example, self-driving cars, which use AI to navigate and make decisions, have the potential to replace human drivers. Similarly, AI is being used to automate many tasks in manufacturing, finance, and healthcare.</p><p>However, it is important to note that AI is not a single technology, but rather a collection of technologies that can be used in different ways. Some forms of AI, such as machine learning, are already quite advanced, while others, such as natural language processing, are still in the early stages of development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pv4gwcv7cVzt2S2q_PyD-w.jpeg" /></figure><p>Moreover, it is unlikely that AI will ever be able to completely replace human beings. While AI can be used to automate many tasks, it still lacks the creativity, intuition, and emotional intelligence that are unique to humans. Additionally, it’s important to consider that AI can also be used to enhance human capabilities and augment human decision making.</p><p>Another important aspect to consider is the ethical implications of AI. As the technology becomes more advanced, it will be important to ensure that it is developed and used in a way that respects human rights and promotes social welfare. There have been a lot of discussions on the responsible development of AI, and it’s important to consider these questions as we move forward.</p><p>In conclusion, AI is a rapidly advancing technology that has the potential to revolutionize many industries and aspects of our lives. While it will likely automate many tasks that were previously done by humans, it is unlikely that it will ever completely replace human beings. It’s important to continue to consider the ethical implications of AI as we move forward with its development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11f8a7a0ca33" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>