<?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: Angkon-Dutta-Joy</title>
    <description>The latest articles on DEV Community by Angkon-Dutta-Joy (@angkonduttajoy).</description>
    <link>https://dev.to/angkonduttajoy</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%2F1049491%2F49c1ba0e-2e80-4910-a56b-bd53d8149fa5.png</url>
      <title>DEV Community: Angkon-Dutta-Joy</title>
      <link>https://dev.to/angkonduttajoy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/angkonduttajoy"/>
    <language>en</language>
    <item>
      <title>The 80/20 Guide to Prompt Engineering (5 Tips That Actually Matter)</title>
      <dc:creator>Angkon-Dutta-Joy</dc:creator>
      <pubDate>Mon, 09 Mar 2026 06:18:56 +0000</pubDate>
      <link>https://dev.to/angkonduttajoy/the-8020-guide-to-prompt-engineering-5-tips-that-actually-matter-op5</link>
      <guid>https://dev.to/angkonduttajoy/the-8020-guide-to-prompt-engineering-5-tips-that-actually-matter-op5</guid>
      <description>&lt;p&gt;Prompt engineering is getting a lot of attention lately. But if you read most guides online, they often make it sound more complicated than it needs to be. We often see long frameworks, complex terminology, and endless lists of techniques. But in reality, we do not need twenty tricks to get good results from AI tools like ChatGPT or Claude. A few small habits create most of the improvement.&lt;/p&gt;

&lt;p&gt;Think of it as the &lt;strong&gt;80/20 rule&lt;/strong&gt;. A small set of prompt techniques produces most of the results.&lt;/p&gt;

&lt;p&gt;Here are five that matter the most.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Start with a clear request
&lt;/h2&gt;

&lt;p&gt;The most common mistake people make is being vague. When the request is unclear, the response will usually be generic.&lt;/p&gt;

&lt;p&gt;Instead of writing something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Tell me about marketing
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Try giving the model more direction:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Explain five beginner digital marketing strategies for a small online clothing store
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the AI understands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the topic&lt;/li&gt;
&lt;li&gt;the number of ideas&lt;/li&gt;
&lt;li&gt;the context&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Clear prompts lead to clearer answers.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Tell the AI how the answer should look
&lt;/h2&gt;

&lt;p&gt;AI models do a much better job when you specify the format you want.If we do not mention a format, the model has to guess.&lt;/p&gt;

&lt;p&gt;we can guide the structure with simple instructions like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Answer in 5 bullet points
Explain step by step
Write a short paragraph
Return the result as a table
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This small change often makes the response easier to read and much more usable.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Show one example
&lt;/h2&gt;

&lt;p&gt;When we want a specific tone or pattern, giving one example works surprisingly well. For instance, imagine we want the AI to rewrite messages in a more professional way.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Rewrite professionally.

Example
Input: hey send the report
Output: Please send the report when available.

Now rewrite
Input: send me the file asap
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With just one example, the model quickly understands the style you want.&lt;/p&gt;

&lt;p&gt;we do not need many examples. Often &lt;strong&gt;one is enough&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Give the AI a role
&lt;/h2&gt;

&lt;p&gt;Another simple trick is assigning a role before asking the question.&lt;/p&gt;

&lt;p&gt;This helps the model respond from a more focused perspective.&lt;/p&gt;

&lt;p&gt;Examples:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You are a senior Python developer. Debug this code.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You are a startup advisor. Suggest product ideas for solo founders.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This small bit of context can noticeably improve the relevance of the response.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. Add constraints
&lt;/h2&gt;

&lt;p&gt;Limits often produce better answers.&lt;/p&gt;

&lt;p&gt;Without constraints, the model tends to generate long explanations that may not be very focused.&lt;/p&gt;

&lt;p&gt;we can guide it with small boundaries such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Explain in under 100 words
Give 3 ideas only
Write for beginners
Avoid technical jargon
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These limits keep the response tight and useful.&lt;/p&gt;




&lt;h2&gt;
  
  
  A simple prompt template
&lt;/h2&gt;

&lt;p&gt;If you want a structure that works for many tasks, try this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Role:
Task:
Context:
Constraints:
Output format:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Role: Startup advisor
Task: Generate SaaS ideas
Context: AI tools for small businesses
Constraints: 5 ideas, each under 20 words
Output: simple list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This structure keeps prompts clear without overthinking the wording.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;Prompt engineering does not have to be complicated.&lt;/p&gt;

&lt;p&gt;Most of the time, better results come from doing a few simple things consistently.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Be clear about what you want&lt;/li&gt;
&lt;li&gt;Describe the format you expect&lt;/li&gt;
&lt;li&gt;Show an example when needed&lt;/li&gt;
&lt;li&gt;Give the AI a role&lt;/li&gt;
&lt;li&gt;Add reasonable limits&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These habits work across different AI tools and models.&lt;/p&gt;

&lt;p&gt;At the end of the day, writing a good prompt is really just &lt;strong&gt;clear communication&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;And clear communication almost always leads to better answers.&lt;/p&gt;

</description>
      <category>promptengineering</category>
      <category>aitips</category>
      <category>aiproductivity</category>
    </item>
    <item>
      <title>A Deep Dive into Large Language Models (LLMs): Unpacking the Magic of AI Text Generation!</title>
      <dc:creator>Angkon-Dutta-Joy</dc:creator>
      <pubDate>Mon, 31 Mar 2025 08:42:05 +0000</pubDate>
      <link>https://dev.to/angkonduttajoy/a-deep-dive-into-large-language-models-llms-unpacking-the-magic-of-ai-text-generation-40ia</link>
      <guid>https://dev.to/angkonduttajoy/a-deep-dive-into-large-language-models-llms-unpacking-the-magic-of-ai-text-generation-40ia</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;Ever wonder how AI like ChatGPT can chat with us, answer questions, or even write poems? 🤖 It might feel like magic, but it’s actually the result of some seriously cool technology called &lt;strong&gt;Large Language Models (LLMs)&lt;/strong&gt;. They’re the engines behind this AI conversation, and today, we’re going to break down what they are, how they work, and why they’re such a game-changer for the world of tech. &lt;/p&gt;

&lt;p&gt;So grab your coffee ☕, sit back, and let’s take a fun (but informative) journey into the heart of AI!&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;What Exactly Are Large Language Models?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;At their core, &lt;strong&gt;LLMs&lt;/strong&gt; are AI systems built to &lt;strong&gt;understand and generate human-like text&lt;/strong&gt;. They can do a ton of things—translate languages, write essays, summarize articles, answer questions, and even help with coding. Think of them like super-intelligent text generators that keep getting better the more they learn.&lt;/p&gt;

&lt;p&gt;These models are usually built on something called the &lt;strong&gt;transformer architecture&lt;/strong&gt;. That’s the secret sauce behind how they process text so quickly and accurately. Pretty neat, right? Let’s dive into how these transformers actually work.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;How Do Transformers Work?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;So, transformers are like the brainpower behind LLMs, and they’re pretty cool because they’re way faster than older models. You see, in the past, models used to process text word by word (like reading a book slowly, one page at a time). But transformers? They can process &lt;strong&gt;multiple words in parallel&lt;/strong&gt;, making them way quicker at handling long sentences or paragraphs.&lt;/p&gt;

&lt;p&gt;The magic ingredient here is something called &lt;strong&gt;self-attention&lt;/strong&gt;. In simpler terms, this means the model doesn’t just look at each word in isolation. It looks at all the words in a sentence and figures out which ones matter most for the task at hand. So, it’s kind of like how you can read a sentence and instantly know which words carry the most meaning.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Training a Transformer – It’s Like Teaching AI to Read&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Imagine trying to teach an AI how to write a novel or debug code. That’s pretty much what training a transformer is like. It’s a long process where the model learns to predict what comes next in a sentence, based on everything it’s read so far. Over time, it gets &lt;em&gt;really&lt;/em&gt; good at understanding patterns and generating responses that sound natural.&lt;/p&gt;

&lt;p&gt;After training, you can “fine-tune” these models for specific tasks, like answering questions or writing specific types of text. It’s like taking a generalist who knows a little about everything and turning them into a coding expert or a poet. 🎭&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;A Quick History of Transformer Models – From GPT-1 to GPT-4&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Here’s a quick timeline of how transformer-based models have evolved:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GPT-1 (2018)&lt;/strong&gt;: The first real breakthrough in large-scale text generation. It was pretty basic, but it opened the door to what was possible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-2 (2019)&lt;/strong&gt;: The bigger sibling, GPT-2 had 1.5 billion parameters (a huge leap!), and it could generate much more coherent text. Plus, it started to show signs of &lt;strong&gt;zero-shot learning&lt;/strong&gt;—the ability to perform tasks without having seen specific examples.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-3 (2020)&lt;/strong&gt;: The AI that made everyone sit up and take notice, with 175 billion parameters. It could write anything from essays to code and even handle complex instructions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-4 (2023)&lt;/strong&gt;: This one’s a powerhouse. It can handle &lt;strong&gt;multimodal inputs&lt;/strong&gt;—meaning it can process not just text, but images, audio, and video! Imagine an AI that can write a story, draw a picture, and make a video all in one go. Pretty cool, huh?&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Fine-Tuning: Making LLMs Smarter (and More Useful)&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once a model has been trained on a huge dataset, you can “fine-tune” it for specific tasks. This is where things get fun. You can teach it to be an expert at something—like helping you write better code, follow instructions, or even have more natural conversations.&lt;/p&gt;

&lt;p&gt;There are two main ways of fine-tuning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Supervised Fine-Tuning (SFT)&lt;/strong&gt;: This is like giving the model examples and saying, “Here’s how I want you to answer this.”&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reinforcement Learning from Human Feedback (RLHF)&lt;/strong&gt;: This one’s a bit more advanced. It’s like playing a game where the AI gets rewards based on how well it follows your instructions. Over time, it learns to align with what you want, like being more helpful, truthful, or safe.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Prompt Engineering: How to Talk to Your AI&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;If you’ve ever played around with ChatGPT or similar models, you know that the way you ask a question can totally change the response. That’s where &lt;strong&gt;prompt engineering&lt;/strong&gt; comes in. It’s like crafting the perfect question to get the best answer.&lt;/p&gt;

&lt;p&gt;Some of the tricks include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-shot prompting&lt;/strong&gt;: Just give the AI a direct instruction and let it figure it out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Few-shot prompting&lt;/strong&gt;: Give it a few examples to help it understand the task better.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chain-of-thought prompting&lt;/strong&gt;: This is where you guide the model step-by-step through the reasoning process, which helps it handle complex problems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Mastering prompt engineering is like becoming a wizard who can summon just the right answers from your AI. ✨&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;LLMs in Action: What Can They Actually Do?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;LLMs aren’t just for chatting—they can do a lot more! Here are a few things they’re amazing at:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Code generation&lt;/strong&gt;: Need to write or debug code? LLMs can help you with that.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Text summarization&lt;/strong&gt;: Got a long article or paper to read? LLMs can give you a concise summary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Question answering&lt;/strong&gt;: Ask it anything, and it’ll give you a detailed answer based on what it knows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creative writing&lt;/strong&gt;: Want a poem or a short story? LLMs can create that for you too.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Translation&lt;/strong&gt;: Need to translate a document? LLMs handle that effortlessly.
#&lt;strong&gt;What’s Next for LLMs?&lt;/strong&gt;
As LLMs continue to evolve, we’re in for even more exciting developments. Imagine AI that understands and generates not just text, but images, videos, and even audio. The possibilities are endless! 🤩&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Plus, with more companies releasing open-source models, the future of AI is looking incredibly collaborative and exciting.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Wrapping It Up&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Large Language Models are more than just a buzzword—they’re a fundamental part of how AI is transforming the world around us. From writing code to creating art, these models are becoming more powerful and accessible every day.&lt;/p&gt;

&lt;p&gt;The journey of LLMs is far from over, and as these models keep improving, the things we can do with them will only keep getting more incredible. So, stay curious, keep experimenting, and who knows? Maybe the next great AI breakthrough will come from you!&lt;/p&gt;

&lt;p&gt;This version gives off a more casual vibe while still keeping the information clear and informative. It feels more like a conversation and a bit more engaging for your audience!&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Fun Fact&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I generated this blog post using an LLM itself! 🤯 All I did was provide it with my resources, and it wrote the whole post by itself! Isn’t that amazing? The power of AI is mind-blowing, and seeing it work like this really shows how far we've come. From just a few inputs to a fully written, coherent blog post—talk about next-level technology! 🚀&lt;/p&gt;

</description>
      <category>llm</category>
      <category>largelanguagemodels</category>
      <category>nlp</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Cloud Computing Made Easy: An Introduction to Microsoft Azure Fundamentals</title>
      <dc:creator>Angkon-Dutta-Joy</dc:creator>
      <pubDate>Mon, 15 May 2023 16:02:22 +0000</pubDate>
      <link>https://dev.to/angkonduttajoy/cloud-computing-made-easy-an-introduction-to-microsoft-azure-fundamentals-2gca</link>
      <guid>https://dev.to/angkonduttajoy/cloud-computing-made-easy-an-introduction-to-microsoft-azure-fundamentals-2gca</guid>
      <description>&lt;p&gt;Microsoft Azure is one of the most popular cloud computing platforms, providing a wide range of services to help businesses and organizations meet their computing needs. To understand Microsoft Azure, it is important to first grasp the basic concepts of cloud computing.&lt;/p&gt;

&lt;p&gt;In Microsoft Azure Fundamentals: Describe cloud concepts , there are 3 learning paths [Describe cloud computing, Describe the benefits of using cloud services and Describe cloud service types] which helps us to know about the concept thoroughly. This blog will cover the summary I learnt while completing the  training path. Now I will share my learning outcome with you guys.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdy00pic4v5mjke3e9tq4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdy00pic4v5mjke3e9tq4.png" alt="Image description" width="800" height="596"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before starting lets know about &lt;strong&gt;Azure.&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  What is Azure?
&lt;/h1&gt;

&lt;p&gt;→ Microsoft Azure is a cloud computing platform with an ever-expanding set of services to help you build solutions to meet your business goals. Azure's web services allows businesses to host their presence in the cloud, as well as fully virtualized computers to manage custom software solutions. Additionally, Azure offers various cloud-based services such as remote storage, database hosting, and centralized account management. Furthermore, Azure provides new capabilities such as artificial intelligence and Internet of Things services.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjyxwlrw6xxvi8x5vfwvw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjyxwlrw6xxvi8x5vfwvw.png" alt="Image description" width="600" height="311"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  What is Azure Fundamentals?
&lt;/h1&gt;

&lt;p&gt;→Azure Fundamentals is a program consisting of three learning paths that introduce users to Azure's services and features. It includes interactive exercises and a temporary Azure portal environment for practice. No technical IT experience is required, but general IT knowledge is helpful. You should take this course if you:&lt;br&gt;
● Have general interest in Azure or in the cloud&lt;br&gt;
● Want to earn official certification from Microsoft (AZ-900)&lt;/p&gt;

&lt;p&gt;AZ-900 Domain Area Weight&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Describe cloud concepts 25-30%&lt;/li&gt;
&lt;li&gt;Describe Azure architecture and services 35-40%&lt;/li&gt;
&lt;li&gt;Describe Azure management and governance 30-35%&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cloud computing
&lt;/h2&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;#Introduction to cloud computing:-&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;→The module provides an introduction to cloud computing, covering general cloud concepts such as shared responsibility, different cloud models, and pricing methods. The learning objectives include defining cloud computing, describing the shared responsibility model, identifying appropriate use cases for public, private, and hybrid cloud models, and comparing cloud pricing models. This module may be a review for those already familiar with cloud&lt;br&gt;
computing.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;#What is cloud computing?&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
→ Cloud computing is the delivery of computing services, such as virtual machines, storage, databases, networking, IoT, ML, and AI, over the internet. Unlike traditional data centers, cloud computing is not constrained by physical infrastructure. This allows for rapid expansion of IT infrastructure without having to wait for the construction of a new data center. Like in cloud&lt;br&gt;
computing services, users just have to pay for the resources he use. He doesn't have to think about the computational power or storage capacity and the hardware part is also taken care of&lt;br&gt;
by the service provider. So the user doesn't have to worry about that.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;#Describe the shared responsibility model&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;→ In this responsibility model physical security, power, cooling, and network connectivity are the responsibility of the cloud provider where the consumer is responsible for the data and&lt;br&gt;
information stored in the cloud and also responsible for access security, meaning you only give access to those who need it.&lt;br&gt;
The shared responsibility model refers to the distribution of responsibilities between the cloud provider and the consumer. This distribution of responsibilities depends on the type of cloud service:&lt;br&gt;
Infrastructure as a service (&lt;strong&gt;IaaS&lt;/strong&gt;), platform as a service (&lt;strong&gt;PaaS&lt;/strong&gt;), and software as a service (&lt;strong&gt;SaaS&lt;/strong&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7k0mb1yftmqp2ce6h9xg.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7k0mb1yftmqp2ce6h9xg.jpg" alt="Image description" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In IaaS, the provider takes care of physical security, power, and connectivity, while the consumer is responsible for the rest, including operating system, applications, and data.&lt;br&gt;
In SaaS, the provider takes care of almost everything, including applications, data, and infrastructure, with the consumer being responsible for only a small portion of the service.&lt;/p&gt;

&lt;p&gt;In PaaS, the responsibility is evenly distributed between the provider and the consumer. The provider takes care of the infrastructure and middleware, while the consumer is responsible for the applications and data.&lt;br&gt;
Understanding the shared responsibility model is important as it helps organizations determine the level of control and security they have over their data and infrastructure in the cloud.&lt;/p&gt;

&lt;p&gt;The picture explains that organizations are always responsible for the data stored in the cloud,devices that connect to the cloud, and accounts and identities within the organization. The cloud&lt;br&gt;
provider is responsible for the physical datacenter, network, and hosts. The specific responsibilities for operating systems, network controls, applications, identity, and infrastructure&lt;br&gt;
depend on the chosen service model (IaaS, PaaS, SaaS).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobnyrs2er7fo2nmyz8xi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobnyrs2er7fo2nmyz8xi.png" alt="Image description" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud Modules
&lt;/h2&gt;

&lt;p&gt;The cloud models define the deployment type of cloud resources. The three main cloud models are: private, public, and hybrid.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Private cloud:&lt;/strong&gt; A cloud used by a single entity, either hosted on site or in a dedicated datacenter offsite. Provides more control and security, but also comes with greater cost and fewer benefits than public cloud deployment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public cloud:&lt;/strong&gt; Built, controlled, and maintained by a third-party cloud provider. Offers general public availability to anyone who wants to purchase cloud services.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hybrid cloud:&lt;/strong&gt; A computing environment that uses both public and private clouds in an interconnected environment. Offers flexibility and an extra layer of security by allowing users to&lt;br&gt;
choose which services to keep in public or private cloud infrastructure.&lt;/p&gt;

&lt;p&gt;There are other modules also like :-&lt;br&gt;
&lt;strong&gt;Multi-cloud:&lt;/strong&gt; A scenario where multiple public cloud providers are used to manage resources and security across different cloud environments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure Arc:&lt;/strong&gt; A set of technologies that helps manage your cloud environment, regardless of whether it's public or private cloud, hybrid, or multi-cloud.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure VMware Solution:&lt;/strong&gt; A solution that allows VMware workloads to be run in Azure with seamless integration and scalability for those who want to migrate from a private cloud environment to public or hybrid cloud.&lt;/p&gt;

&lt;h2&gt;
  
  
  consumption-based mode
&lt;/h2&gt;

&lt;p&gt;When comparing IT infrastructure models, there are two types of expenses to consider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Capital expenditure (CapEx): A one-time, up-front expenditure to purchase or secure tangible resources (e.g. building a datacenter).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Operational expenditure (OpEx):Spending money on services or products over time (e.g.renting a convention center).&lt;br&gt;
Cloud computing falls under OpEx because it operates on a consumption-based model.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of paying for physical infrastructure, electricity, and security, you pay only for the IT resources you use. This consumption-based model has many benefits, including:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;No upfront costs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;No need to purchase and manage costly infrastructure that users might not use to its fullest potential.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The ability to pay for more resources when they're needed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The ability to stop paying for resources that are no longer needed.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With a traditional datacenter, estimating future resource needs is crucial. Overestimating leads to wasted money, while underestimating can lead to decreased performance. In a cloud-based model, you don’t have to worry about getting the resource needs just right.&lt;/p&gt;

&lt;p&gt;Cloud computing allows you to rent compute power and storage from someone else’s datacenter, treating cloud resources like your own. Unlike in your own datacenter, you only pay for what you use, and the cloud provider takes care of maintaining the underlying infrastructure for you.&lt;br&gt;
In summary, cloud computing is a cost-effective, flexible, and scalable solution for businesses of all sizes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Describe the benefits of using cloud services
&lt;/h2&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;High Availability:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
● High availability ensures maximum availability of IT resources, even during disruptions or events that may occur.&lt;/p&gt;

&lt;p&gt;● Azure provides highly available cloud environments with uptime guarantees depending on the service.&lt;/p&gt;

&lt;p&gt;● Service-level agreements (SLAs) outline these guarantees.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Scalability:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
● Scalability refers to the ability to adjust resources to meet demand.&lt;/p&gt;

&lt;p&gt;● Cloud resources are scalable, meaning you can add or subtract resources to handle increased or decreased demand.&lt;/p&gt;

&lt;p&gt;● Scaling comes in two varieties: vertical and horizontal scaling.&lt;/p&gt;

&lt;p&gt;● Vertical scaling increases or decreases the capabilities of resources, while horizontal scaling adds or subtracts the number of resources.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Reliability:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
● Ability of a system to recover from failures and continue functioning.&lt;/p&gt;

&lt;p&gt;● Azure's decentralized design supports a reliable and resilient infrastructure.&lt;/p&gt;

&lt;p&gt;● Applications can be designed to automatically take advantage of global scale for&lt;br&gt;
increased reliability.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Predictability:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
● Predictability in the cloud lets you move forward with confidence.&lt;/p&gt;

&lt;p&gt;● Performance and cost predictability are influenced by the Azure Well-Architected Framework.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Performance:&lt;/strong&gt;&lt;br&gt;
● Autoscaling, load balancing, and high availability support performance predictability.&lt;/p&gt;

&lt;p&gt;● Autoscaling can deploy additional resources to meet demand, while load balancing helps redirect traffic to less stressed areas.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Cost:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
● Cloud analytics and tools like TCO and Pricing Calculator can help predict future costs.&lt;/p&gt;

&lt;p&gt;● You can adjust your resources as needed to better manage and predict cloud spend.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Governance:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
● Set templates help ensure that all your deployed resources meet corporate standards and government regulatory requirements.&lt;/p&gt;

&lt;p&gt;● Cloud-based auditing helps flag any resource that’s out of compliance with your corporate standards and provides mitigation strategies.&lt;/p&gt;

&lt;p&gt;● Depending on your operating model, software patches and updates may also automatically be applied.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Security:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
● You can find a cloud solution that matches your security needs.&lt;/p&gt;

&lt;p&gt;● Infrastructure as a service provides you with physical resources but lets you manage the operating systems and installed software, including patches and maintenance.&lt;/p&gt;

&lt;p&gt;● Platform as a service or software as a service deployments may be the best cloud strategies for you if you want patches and maintenance taken care of automatically.&lt;/p&gt;

&lt;p&gt;● Cloud providers are typically well suited to handle things like distributed denial of service (DDoS) attacks, making your network more robust and secure.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Manageability:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
Cloud computing offers two types of manageability options: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;management of the cloud and&lt;/li&gt;
&lt;li&gt;management in the cloud.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Management of the cloud involves managing your cloud resources, which can be done in several ways in the cloud environment. You can scale resource deployment automatically based on need, deploy resources using preconfigured templates instead of manual configuration, monitor resource health and automatically replace failing resources, and receive automatic alerts based on configured metrics, giving you real-time performance updates.&lt;br&gt;
Management in the cloud involves managing your cloud environment and resources through various interfaces, including a web portal, command line interface, APIs, and PowerShell. These&lt;br&gt;
options provide flexibility in managing your resources and allow you to choose the best method for your needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  cloud service types
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Infrastructure as a Service (IaaS),&lt;/li&gt;
&lt;li&gt;Platform as a Service (PaaS), and&lt;/li&gt;
&lt;li&gt;Software as a Service&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;(SaaS)&lt;/strong&gt; are three different cloud computing models that offer various levels of management and control over IT resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IaaS&lt;/strong&gt; is most flexible and provides physical resources such as servers, storage, and networking, which customers can manage themselves, including the operating system, middleware, and&lt;br&gt;
applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PaaS&lt;/strong&gt; offers a higher level of abstraction by providing customers with a platform to build and deploy applications without having to manage the underlying infrastructure. The customer only&lt;br&gt;
needs to manage the application and data.&lt;/p&gt;

&lt;p&gt;SaaS is the most abstract model and provides customers with access to software applications that are fully managed by the provider. Customers can use the software over the internet without having to install, manage, or update it.&lt;/p&gt;

</description>
      <category>microsoftcloud</category>
      <category>azure</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>How to make your python code faster</title>
      <dc:creator>Angkon-Dutta-Joy</dc:creator>
      <pubDate>Tue, 28 Mar 2023 18:34:21 +0000</pubDate>
      <link>https://dev.to/angkonduttajoy/how-to-make-your-python-code-faster-4cb</link>
      <guid>https://dev.to/angkonduttajoy/how-to-make-your-python-code-faster-4cb</guid>
      <description>&lt;p&gt;Python is a popular language with simple syntax and a wealth of libraries that is widely used in competitive programming. However, when it comes to solving complex algorithmic problems, many programmers struggle with the issue of Time Limit Exceeded. While it's true that Python isn't the fastest language out there, there are several techniques you can use to write efficient code and ensure that it gets accepted.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7b741pcb8fdf08tfei4.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7b741pcb8fdf08tfei4.jpg" alt="Image description" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Use the appropriate data structure:
&lt;/h2&gt;

&lt;p&gt;Using the correct data structure can have a significant impact on runtime. While Python has built-in data structures such as lists, tuples, sets, and dictionaries, many people tend to use lists in all cases. However, it's essential to use the right data structure depending on your task. For example, iterating over a tuple is often faster than iterating over a list.&lt;/p&gt;
&lt;h2&gt;
  
  
  Reduce the use of for loops:
&lt;/h2&gt;

&lt;p&gt;As for loops are dynamic in Python, they take more time than while loops. Therefore, it's better to use while loops instead of for loops.&lt;/p&gt;
&lt;h2&gt;
  
  
  Use list comprehension:
&lt;/h2&gt;

&lt;p&gt;List comprehension is a powerful tool that you should use instead of other techniques whenever possible. For example, if you need to list all the numbers between 1 and 1000 that are multiples of 3, list comprehension is a more efficient way to achieve this than using the append method.&lt;br&gt;
Instead of&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;L = []
for i in range (1, 1000):
    if i%3 == 0:
        L.append (i)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;L=[i for i in range(1,1000) if i%3==0]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use multiple assignments:
&lt;/h2&gt;

&lt;p&gt;Using multiple assignments can save time by assigning variables together in a single line instead of one by one.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#instead of 
a = 1
b = 2
c = 3
d = 4
#write
a,b,c,d=1,2,3,4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Avoid using global variables:
&lt;/h2&gt;

&lt;p&gt;Global variables take more time to operate than local variables. Therefore, it's better not to use global variables unless necessary.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use library functions:
&lt;/h2&gt;

&lt;p&gt;Whenever possible, use library functions instead of writing your functions manually. Library functions are highly efficient and often impossible to match in terms of coding efficiency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Concatenate strings with join():
&lt;/h2&gt;

&lt;p&gt;While you can concatenate strings with the + operation in Python, it's better to use the join() method as it's faster. The + operator creates a new string and copies the old content at each step, while join() doesn't work that way.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#instead of 
concatenated_String = "Python " + "is " + "fun."

#write
concatenated_String = " ".join (["Python", "is", "fun."])
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use generators:
&lt;/h2&gt;

&lt;p&gt;If you have a large amount of data in your list and need to use only one data at a time and for once, then use generators as they can save you time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Avoid using dot operations:
&lt;/h2&gt;

&lt;p&gt;Using dot operations can be time-consuming, as they first call getattribute() or getattr() and then use dictionary operations.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#instead of 
import math
val = math.sqrt(60)

#write
from math import sqrt
val = sqrt(60)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use 1 for infinity loops:
&lt;/h2&gt;

&lt;p&gt;Using while 1 instead of while True can reduce runtime.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;While 1:
    ......
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Try a different approach:
&lt;/h2&gt;

&lt;p&gt;Sometimes, taking a different approach to writing code can lead to better performance. For example, instead of using nested if statements, you can use a single if statement with logical operators.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#instead of 
if a_condition:
    if another_condition:
        do_something
else:
    raise exception
#write
if (not a_condition) or (not another_condition):
    raise exception
do_something
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use sys for faster input:
&lt;/h2&gt;

&lt;p&gt;Use the code below to get faster input time&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import sys
input= sys.stdin.readline 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use speed-up applications:
&lt;/h2&gt;

&lt;p&gt;To decrease runtime, you can use projects like Pypy and Numba. These applications can reduce the runtime of your program.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use special libraries to process large datasets:
&lt;/h2&gt;

&lt;p&gt;Python may not be the fastest language for processing large datasets, but you can use packages and modules written in C/C++, such as Numpy, Scipy, and Pandas, to optimize your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use the latest release of Python:
&lt;/h2&gt;

&lt;p&gt;Python is regularly updated and optimized, with each new release being faster than the previous one. Therefore, it's important to always use the latest version of Python.&lt;/p&gt;

&lt;p&gt;These are just a few ways to speed up your Python code. There are several other techniques that you can use, so be sure to use a search engine to find them and write efficient code!&lt;/p&gt;

</description>
      <category>python</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Python (Data types, Values and Variables)</title>
      <dc:creator>Angkon-Dutta-Joy</dc:creator>
      <pubDate>Tue, 21 Mar 2023 13:00:37 +0000</pubDate>
      <link>https://dev.to/angkonduttajoy/python-data-types-values-and-variables-12h</link>
      <guid>https://dev.to/angkonduttajoy/python-data-types-values-and-variables-12h</guid>
      <description>&lt;h2&gt;
  
  
  Data Types
&lt;/h2&gt;

&lt;p&gt;Data types are like the different categories of data that exist in Python - think of them as different "flavors" of data! There are five main groups of data types in Python, but there are also many other types available. First let's know about them. Don't worry if you don't understand a single term. we will learn about them deeply in the upcoming vlogs. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fevhg3p6mr35o7fn580yt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fevhg3p6mr35o7fn580yt.png" alt="Image description" width="635" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first group is &lt;strong&gt;numeric&lt;/strong&gt; type, which includes integers (positive or negative whole numbers without a fractional part) and floating-point numbers (real numbers with a decimal point). Think of them like different kinds of numbers on a number line!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a = 5  #(here 5 is an integer we stored in a continer named a which will be stored in our memory)
b = 12.65 #(it is a float data type. any fractional number will be float data type.)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next up is &lt;strong&gt;boolean&lt;/strong&gt; type, which includes just two values: True and False. This type is used for logical operations, like checking if something is true or false.&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;The third group is &lt;strong&gt;sequence&lt;/strong&gt; type, which is an ordered collection of similar or different data types. Strings are a type of sequence made up of ordered characters - think of them like a bunch of letters in a particular order! Lists are also a type of sequence, but they can have elements with more than one data type. Tuples are another type of sequence, but we'll cover those later on.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a='python'
b="let's learn python"
c=[1,2,3,4,5]
d=['I','Love','Doughnut']

#here a and b is string data type and c and d is list data type
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fourth group is &lt;strong&gt;mapping&lt;/strong&gt; type, which includes dictionaries. These are collections of key-value pairs, like a dictionary where each word has a definition.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, there's &lt;strong&gt;NoneType&lt;/strong&gt;, which represents a null or no value at all. It's a special data type with a single value: None.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;a = None (None have to start with capital letter N)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Data type checking
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;&lt;em&gt;type()&lt;/em&gt;&lt;/strong&gt; function is commonly used for debugging and code correction purposes as it helps identify the type of an object or argument passed as a parameter. By returning the type of the object, the function provides useful information about the data being used in the code, which can be used to diagnose and fix errors.&lt;br&gt;
&lt;strong&gt;Code&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;type("Hello World") 
type(110) 
type(123.456)
type(True) 
type(None)
&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;str
int
float
bool
NoneType
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  print() Function and it's use
&lt;/h2&gt;

&lt;p&gt;The print() function is employed to display the value of an expression enclosed in parentheses (a pair of opening and closing brackets). It is typically used to generate output on the screen when writing a program, unlike in a command-line interpreter where it may not be necessary. The print() function is essential for observing and analyzing text output generated by a set of code. Further information regarding functions in Python will be discussed at a later time.&lt;br&gt;
&lt;strong&gt;code&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;print('Hello World')
&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;Hello World
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Variable and value
&lt;/h2&gt;

&lt;p&gt;Variables are containers for storing data values.&lt;br&gt;
Suppose you need to store a value 5 for further calculation. So, where will you store it? In computer memory right? But the name for that memory address will be too long for you to remember. So, why not we give it a name?&lt;/p&gt;

&lt;p&gt;let call that container that will store our 5 in it is gpa.&lt;br&gt;
So, we have to write,&lt;br&gt;
&lt;code&gt;gpa=5&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;we right the variable name in the left side and value on the right.&lt;/p&gt;

&lt;p&gt;lets see how variable works in a real code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;check = 123
print(check)
print(type(check))
print("======")
check = "Hi"
print(check)
print(type(check))
&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;123
&amp;lt;class 'int'&amp;gt;
======
Hi
&amp;lt;class 'str'&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;We can change the value of same variable with another value.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;color='Red'
color='Green'
print(color)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Green
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;see, here color was red but then we wrote green for which the value changed and green is stored, but red lost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Variable naming conventions
&lt;/h2&gt;

&lt;p&gt;While naming the variables we need to follow certain rules and restrictions. These are called “Variable&lt;br&gt;
naming conventions”. By following these our codes become more understandable by the Human&lt;br&gt;
Readers (us). Few significant rules have been mentioned below.&lt;br&gt;
Variable names-&lt;br&gt;
● can have letters (A-Z and a-z), digits(0-9), and underscores (&lt;em&gt;).&lt;br&gt;
● should maintain snake_casing. That means each word should be separated by underscores(&lt;/em&gt;)&lt;br&gt;
● cannot begin with digits&lt;br&gt;
● cannot have whitespace and special signs (e.g.: +, -, !, @, $, #, %.)&lt;br&gt;
● are case sensitive meaning ABC, Abc, abc are three different variables.&lt;br&gt;
● have to be meaningful with the data stored in it.&lt;br&gt;
● cannot be too lengthy and too general, need to have a balance&lt;br&gt;
● should not be written with single alphabets. Minimum length should be 3.&lt;br&gt;
● cannot be a reserved keyword for Python. There are a total of 35 keywords.they are keywords that you can't use as variable name which are :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fupq29wvc9r858njikd62.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fupq29wvc9r858njikd62.png" alt="Image description" width="800" height="309"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all for today....keep reading, keep learning. Also don't forget to practice. &lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
