<?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: Umid2008</title>
    <description>The latest articles on DEV Community by Umid2008 (@umid2008).</description>
    <link>https://dev.to/umid2008</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%2F995703%2F4d54909c-826e-4590-a832-278ef2c60a62.png</url>
      <title>DEV Community: Umid2008</title>
      <link>https://dev.to/umid2008</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/umid2008"/>
    <language>en</language>
    <item>
      <title>If and else statements(C++)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 24 Mar 2023 05:16:18 +0000</pubDate>
      <link>https://dev.to/umid2008/if-and-else-statementsc-2805</link>
      <guid>https://dev.to/umid2008/if-and-else-statementsc-2805</guid>
      <description>&lt;p&gt;Hello, today we will talk about if and else statements.&lt;/p&gt;

&lt;p&gt;The operator" If/else", is called the" condition " operator in C++.&lt;/p&gt;

&lt;p&gt;If one condition holds, the If/else operator is used in C++ code. It is an operator, a type of operator where the program can perform actions under all conditions.&lt;/p&gt;

&lt;p&gt;Example for If/else:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;

using namespace std;

int main() {

  int a = 10;

  if (a &amp;gt; 5) {
    cout &amp;lt;&amp;lt; "a is greater than 5";
  } else {
    cout &amp;lt;&amp;lt; "a is less or equal than/with 5";
  }

  return 0;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the above code, if variable A is greater than 5, the text "a greater than 5" is output. In another case," A is less than or equal to 5 " must be output.&lt;/p&gt;

&lt;p&gt;The syntax used is as follows:&lt;/p&gt;

&lt;p&gt;if (conditions) { // if conditions are true, actions must be performed } else { //otherwise, actions must be performed }&lt;/p&gt;

&lt;p&gt;If the conditions are correct, the" if "block is executed and otherwise The" else " block is executed.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
      <category>cpp</category>
    </item>
    <item>
      <title>Types of Variables</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 10 Mar 2023 14:20:06 +0000</pubDate>
      <link>https://dev.to/umid2008/types-of-variables-5dh0</link>
      <guid>https://dev.to/umid2008/types-of-variables-5dh0</guid>
      <description>&lt;p&gt;Assalamu aleykum today we will take a look with you on Data types - data types.&lt;/p&gt;

&lt;h1&gt;
  
  
  include 
&lt;/h1&gt;

&lt;p&gt;using namespace std;&lt;br&gt;
​&lt;br&gt;
int main () {&lt;br&gt;
 int mynom = 5; / / All (whole number)&lt;br&gt;
 float myFloatNum = 5.99; // decimal&lt;br&gt;
 double myDoubleNum = 9.98; / / differs in its limit with decimal Float.&lt;br&gt;
 char myLetter = 'D'; / / Char&lt;br&gt;
 boolean myBoolean = true; / / Boolean(true or false&lt;br&gt;
 string myText = "Hello"; / / line&lt;br&gt;
}&lt;br&gt;
Main types of data&lt;/p&gt;

&lt;p&gt;The data type determines the size and type of information that stores the variable:&lt;/p&gt;

&lt;p&gt;Image description&lt;/p&gt;

&lt;p&gt;Number types-integer = INT-for integers.&lt;/p&gt;

&lt;h1&gt;
  
  
  include 
&lt;/h1&gt;

&lt;p&gt;using namespace std;&lt;br&gt;
​&lt;br&gt;
int main (). &lt;br&gt;
{&lt;/p&gt;

&lt;p&gt;int all = 13; / / All (whole number)&lt;/p&gt;

&lt;p&gt;return 0;&lt;br&gt;
}&lt;br&gt;
Number types-float-for fractional numbers.&lt;/p&gt;

&lt;h1&gt;
  
  
  include 
&lt;/h1&gt;

&lt;p&gt;using namespace std;&lt;br&gt;
​&lt;br&gt;
int main (). &lt;br&gt;
{&lt;/p&gt;

&lt;p&gt;int mn = 13.15; / / real (whole number&lt;/p&gt;

&lt;p&gt;return 0;&lt;br&gt;
}&lt;br&gt;
for double-fractional numbers.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;h1&gt;
  
  
  include 
&lt;/h1&gt;

&lt;p&gt;using namespcace std;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>cpp</category>
    </item>
    <item>
      <title>New line</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 10 Mar 2023 14:17:30 +0000</pubDate>
      <link>https://dev.to/umid2008/new-line-18kf</link>
      <guid>https://dev.to/umid2008/new-line-18kf</guid>
      <description>&lt;p&gt;the programmer will learn today, what we do is look at the new string throw in the C++ programming language.&lt;br&gt;
You can use the" \n " icon to insert a new line:&lt;/p&gt;

&lt;p&gt;For example::&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;
using namespace std;

int main ().
{

cout &amp;lt; &amp;lt; &amp;lt; "I started learning C++\n" &amp;lt; br&amp;gt;;
cout &amp;lt; &amp;lt; &amp;lt; "very interesting and easy to learn";

return 0;
}

Tip: Two \N characters after each other form an empty row:

For example::
#include &amp;lt;iostream&amp;gt;
using namespace std;

int main ().
{

cout &amp;lt; &amp;lt; &amp;lt; "my advice to you start programming from C or C++\N\n";
cout &amp;lt; &amp;lt; &amp;lt; " Qani kettik;

return 0;
}
Another way to enter a new line is to use the Special Command "endl:

For example::
#include &amp;lt;iostream&amp;gt;
using namespace std;

int main ().
{

cout &amp;lt; &amp;lt; "I am learning C++" &amp;lt; &amp;lt; endl;
cout &amp;lt; &amp;lt; &amp;lt; "Hello World" &amp;lt; Br&amp;gt;;

return 0;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To cut lines, "\n" and "endl" are also used. However, "\n " is the most commonly used.&lt;/p&gt;

&lt;p&gt;But what exactly is \n?&lt;br&gt;
The new row symbol (\n) is called the escape sequence, and it is curso&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>cpp</category>
    </item>
    <item>
      <title>Comment(C++)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 10 Mar 2023 14:07:48 +0000</pubDate>
      <link>https://dev.to/umid2008/comment-3c2j</link>
      <guid>https://dev.to/umid2008/comment-3c2j</guid>
      <description>&lt;p&gt;Hello programmer today we will talk about leaving a comment in the language of C++ Duster! Before starting, it is considered necessary that we find out why we should use the comment. Remember that. Comments are divided into open and closed types!&lt;/p&gt;

&lt;p&gt;In the C++ programming language, a footnote is written after the character"//". This symbol only applies to one-line comments. You can apply for several rows. To do this, you will need to apply "/ / " in each row.&lt;/p&gt;

&lt;p&gt;For example::&lt;br&gt;
// It was written for comment.&lt;br&gt;
// The second line is written for comment.&lt;br&gt;
cout &amp;lt; &amp;lt; &amp;lt; " Hello World;&lt;br&gt;
In the C++ programming language, the operator can also be written as a footnote at the end.&lt;/p&gt;

&lt;p&gt;For example::&lt;br&gt;
cout &amp;lt; &amp;lt; &amp;lt; "Hello World"; / / This is a comment (output operator&lt;br&gt;
Multi-line annotation in the C++ programming language.&lt;/p&gt;

&lt;p&gt;Begins with multi-line comments / * and ends*/.&lt;/p&gt;

&lt;p&gt;All text or operators that were /* between the written code */ ignored.&lt;/p&gt;

&lt;p&gt;For example::&lt;br&gt;
/ * As written for this comment&lt;br&gt;
apply for multiple series&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>cpp</category>
    </item>
    <item>
      <title>Printing code(C++)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 10 Mar 2023 14:03:05 +0000</pubDate>
      <link>https://dev.to/umid2008/printing-code-26d2</link>
      <guid>https://dev.to/umid2008/printing-code-26d2</guid>
      <description>&lt;p&gt;Today's lesson will be short today we will talk to you about the output operator in the C++ programming language.&lt;/p&gt;

&lt;p&gt;In the C++ programming language, a release operator is written together with the keyword "cout"&amp;lt;&amp;lt;.&lt;/p&gt;

&lt;p&gt;An Operator is a specific goal-oriented in a programming language.One can give an example of a certain part of the work i.e. C++ for example an output operator, a repeat operator, a condition operator, and a few. After the operators; ends with. The part of the work in which certain operators perform a certain task is completed, mainly with a figure bracket {}.&lt;/p&gt;

&lt;p&gt;In the C++ programming language, we give an example for the output operator:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;
using namespace std;

int main ().
{
cout &amp;lt; &amp;lt; &amp;lt; " Hello World! Ilmhub IT school;

return 0;
}

Result: Hello World! Ilmhub IT school
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can use C++ programming language as long as you want cout. Do not forget that it turns out in each row in the process of using the output operator in Zail.Look at the code below.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Constanta(C++)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 10 Mar 2023 13:34:11 +0000</pubDate>
      <link>https://dev.to/umid2008/entering-to-the-c-3h9g</link>
      <guid>https://dev.to/umid2008/entering-to-the-c-3h9g</guid>
      <description>&lt;p&gt;So nows theme is Constanta. Constanta-const is an invariant. In the C++ programming language, we can use the utility word "const" to declare constants. Constanta is only possible to read the value (take). For example we have created a single variable that we use the constant so that it is preserved and does not change. It's very important code if you planning to create a large project.&lt;br&gt;
int main1() {&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int main1() {

const int Num = 34;
Num = 45

return 0;
}
In this code C++ gives 45 an error.
That's all!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>cpp</category>
    </item>
    <item>
      <title>Identificator(C++)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 10 Mar 2023 12:44:08 +0000</pubDate>
      <link>https://dev.to/umid2008/identificator-and-constanta-3490</link>
      <guid>https://dev.to/umid2008/identificator-and-constanta-3490</guid>
      <description>&lt;p&gt;Hello. Today we will talk about Identificator and Constanta. So let's begin! Identificator means naming variables. For example if we don't name our variable then we can't use and summon it. It's very importable thing. Naming variables is very easy. We need just write the name of variable and give the value. That's all with Identificators!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int main1() {

int Number = 1;

cout &amp;lt;&amp;lt; Number &amp;lt;&amp;lt; endl;

  return 0;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>programming</category>
      <category>tutorial</category>
      <category>cpp</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Variables and Their types(C++)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 03 Mar 2023 12:25:10 +0000</pubDate>
      <link>https://dev.to/umid2008/operatorsc-1n7h</link>
      <guid>https://dev.to/umid2008/operatorsc-1n7h</guid>
      <description>&lt;p&gt;So Variables like a empty bottle, container, mug and etc. Variable means - temporarily saving. And we can can fill that "empty bottle" with different things. For example with texts, numbers and etc. Temporary storage locations are called variables.&lt;/p&gt;

&lt;p&gt;!!Many programs allow the method of temporary storage of data at the time of execution of the program need!!&lt;/p&gt;

&lt;p&gt;Variables has a name of the variable and value. Before using any variable, it must be declared with code "cin". In the process of software operation, it is possible to change the value of the variable. The variable is addressed to the part of memory that stores the value through it's name.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
int = integer = Butun sonlar -- 4bytes
 long int = (int dan 2 baravar ko'p);
   float = kasr son; -- 4bytes 
     double = kasr son(float dan 2 baravar ko'p)
      string = tekst; -- 4bytes 
        char = character = belgi; -- 1byte;
          bool = bolean = true/false;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's types of Variables&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>discuss</category>
      <category>developer</category>
      <category>career</category>
    </item>
    <item>
      <title>Syntax(C++)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Fri, 24 Feb 2023 12:27:09 +0000</pubDate>
      <link>https://dev.to/umid2008/variables-and-their-types-2kg9</link>
      <guid>https://dev.to/umid2008/variables-and-their-types-2kg9</guid>
      <description>&lt;p&gt;I would have left asking you to take a look at the code below before to realize its syntax.&lt;/p&gt;

&lt;h1&gt;
  
  
  include 
&lt;/h1&gt;

&lt;p&gt;using namespace std;&lt;/p&gt;

&lt;p&gt;int main ().&lt;br&gt;
{&lt;br&gt;
cout &amp;lt; &amp;lt; &amp;lt; " Hello World;&lt;/p&gt;

&lt;p&gt;return 0;&lt;br&gt;
}&lt;br&gt;
Now let's analyze a line of code.&lt;/p&gt;

&lt;p&gt;scope: #include  from this the library (#include) - calling is implemented. "iostream" means input and output stream - allows you to work with input and output objects, cout (see 5 lines in the code).&lt;br&gt;
row: using namespace std means that we can use names for objects and variables from a standard library.&lt;br&gt;
If you don't understand how #include  and how it works, don't worry using namespace std. Just think of it as something that always appears in your app.&lt;/p&gt;

&lt;p&gt;row: empty row abandoned. C++ ignores space.&lt;br&gt;
row: always in C++ program&lt;/p&gt;

</description>
      <category>programming</category>
      <category>cpp</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Entering to the CPP</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Sat, 18 Feb 2023 09:05:55 +0000</pubDate>
      <link>https://dev.to/umid2008/first-lesson-c-2en7</link>
      <guid>https://dev.to/umid2008/first-lesson-c-2en7</guid>
      <description>&lt;p&gt;The C++ programming language is apparently very simple and falls into the realm of programming languages that are easier to understand.&lt;/p&gt;

&lt;p&gt;Reasons why we should use CPP&lt;/p&gt;

&lt;p&gt;The C++ programming language is a widely used programming language worldwide.&lt;br&gt;
C++ can be found on operating systems with all graphical interfaces.&lt;br&gt;
C++ is considered an object-oriented programming language. There is an opportunity to easily change the configured program.&lt;br&gt;
C++ - interesting and very easy to learn.&lt;br&gt;
C++ - you can create programs that are portable and can be adapted to multiple platforms.&lt;br&gt;
Being a programming language close to C++ - C# and the Java programming language, it is very easy to replace.&lt;br&gt;
The C++ programming language is a member of the C programming family, founded in 1985 by Bjarne Stroustrup.&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Integer and String(Python)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Sat, 21 Jan 2023 06:29:13 +0000</pubDate>
      <link>https://dev.to/umid2008/integer-and-string-22h1</link>
      <guid>https://dev.to/umid2008/integer-and-string-22h1</guid>
      <description>&lt;h1&gt;
  
  
  ornatilgam ma'lumotlar turlari
&lt;/h1&gt;

&lt;h1&gt;
  
  
  dasturlashda ma'lumot turlari muhim tushunchadir.
&lt;/h1&gt;

&lt;h1&gt;
  
  
  ozgaruvchilar har hil turdagi ma'lumotlarni saqlashi munkin va har xil bajarish munkin.
&lt;/h1&gt;

&lt;h1&gt;
  
  
  pyton dasturlash tilida quydagi malumot mavjud
&lt;/h1&gt;

&lt;h1&gt;
  
  
  text type - String
&lt;/h1&gt;

&lt;h1&gt;
  
  
  umeric tiypes - integer, float, complex
&lt;/h1&gt;

&lt;h1&gt;
  
  
  sequnce types - list, tipe, range
&lt;/h1&gt;

&lt;h1&gt;
  
  
  mapping type - dict
&lt;/h1&gt;

&lt;h1&gt;
  
  
  boolen tupe - booL
&lt;/h1&gt;

&lt;h1&gt;
  
  
  binary types - butes, butearriy, memoryview
&lt;/h1&gt;

&lt;h1&gt;
  
  
  none type - Nonetype
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Misol uchun
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = "hello world" #-- #String
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = 20 -- int
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = 20.5 -- float
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = 1j -- complex
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = ["aplle" "banan" "cherry"] -- list
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = ("aplle" "banan" "cherry") -- tuple
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = range(6) -- range
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = {"Name", : "John","Age" : 36} -- dict
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = {"Apple", " banana", "cherry"} -- set
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = frozenset({"apple", "banna", "cherry",})
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = true
&lt;/h1&gt;

&lt;h1&gt;
  
  
  = b"hello" -- bytes
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = bytearray(5) -- bytearray
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = memoryview(bytes(5)) -- memoryview
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = None -- nonetype
&lt;/h1&gt;

&lt;h1&gt;
  
  
  string mashq!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = "hello world"
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(x)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display the data type of x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  int ga mashq:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(x))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  int ga mashq!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = 20
&lt;/h1&gt;

&lt;h1&gt;
  
  
  = 25
&lt;/h1&gt;

&lt;h1&gt;
  
  
  c = x + y
&lt;/h1&gt;

&lt;h1&gt;
  
  
  z = c + x
&lt;/h1&gt;

&lt;h1&gt;
  
  
  e = z + c
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(e)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display the data type of x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(e))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  float ga mash!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = 20.5
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print (x)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display the type of x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print
&lt;/h1&gt;

&lt;h1&gt;
  
  
  complex ga mashq!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = 1j
&lt;/h1&gt;

&lt;h1&gt;
  
  
  dsplay x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(x)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display the of x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(x))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = 9 + 8j
&lt;/h1&gt;

&lt;h1&gt;
  
  
  y = 10 + 4.5j
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(x))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(y))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(z))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(x)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(y)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(z)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  list ga mashq!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = ["apple","banana","cherry"]
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(x[2])
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display the data of x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(x))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  my_list = ["jessa", "kelly", 20,35.75]
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(my_list)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(my_list))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  type ga mashq!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = ("apple", "banana", "cherry")
&lt;/h1&gt;

&lt;h1&gt;
  
  
  displaay x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(x)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  displayga the data type of x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(x))
&lt;/h1&gt;

&lt;h1&gt;
  
  
  my_tuple = (11, 24, 56, 88, 78)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(my_tuple[2:5])
&lt;/h1&gt;

&lt;h1&gt;
  
  
  range ga mashq!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  x = range(6)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(x)
&lt;/h1&gt;

&lt;h1&gt;
  
  
  display the data type of x:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  print(type(x))
&lt;/h1&gt;

</description>
      <category>discuss</category>
      <category>productivity</category>
      <category>career</category>
    </item>
    <item>
      <title>Variables(Python)</title>
      <dc:creator>Umid2008</dc:creator>
      <pubDate>Sat, 14 Jan 2023 07:25:55 +0000</pubDate>
      <link>https://dev.to/umid2008/variables-1o9e</link>
      <guid>https://dev.to/umid2008/variables-1o9e</guid>
      <description>&lt;p&gt;Variable это как пустая бутылка или емкость. А вода это название который будет находиться в variable. Есть три вида Variables первое это int а точнее integer используется для цифр. Второе это str string используется для текста. А третье это float используется для дробей.x = 5&lt;br&gt;
       y = "Umidjon" string - str!&lt;br&gt;
       print(x)&lt;br&gt;
       print(y)&lt;br&gt;
Если мы будем использовать Variables неправильно то в Консоли выйдет ошибка. А точнее Error.&lt;/p&gt;

&lt;h1&gt;
  
  
  Полные цифры это - int!
&lt;/h1&gt;

&lt;p&gt;x = 5&lt;br&gt;
y = "Umidjon" #Это используется только для текста - str!&lt;br&gt;
print(x)&lt;br&gt;
print(y)&lt;/p&gt;

&lt;p&gt;x = 4&lt;br&gt;
x = "Umid"&lt;br&gt;
print(x)&lt;/p&gt;

&lt;h1&gt;
  
  
  int - для полных цифр
&lt;/h1&gt;

&lt;h1&gt;
  
  
  float - для дробей
&lt;/h1&gt;

&lt;h1&gt;
  
  
  string - для текстов
&lt;/h1&gt;

&lt;p&gt;x = int(3)&lt;br&gt;
y = float(2.5)&lt;br&gt;
z = str("hello")&lt;/p&gt;

&lt;p&gt;print(x)&lt;br&gt;
print(y)&lt;br&gt;
print(z)&lt;/p&gt;

&lt;p&gt;x = "umid"&lt;br&gt;
x = 'umid'&lt;br&gt;
print(x)&lt;/p&gt;

&lt;p&gt;a = 4&lt;br&gt;
A = 5&lt;/p&gt;

&lt;p&gt;myvar = "John"&lt;br&gt;
my_var = "John"&lt;br&gt;
_my_var = "John"&lt;br&gt;
myVar = "John"&lt;br&gt;
MYVAR = "John"&lt;br&gt;
myvar2 = "John"&lt;/p&gt;

&lt;p&gt;print(myvar)&lt;br&gt;
print(my_var)&lt;br&gt;
print(_my_var)&lt;br&gt;
print(myVar)&lt;br&gt;
print(MYVAR)&lt;br&gt;
print(myvar2)&lt;/p&gt;

&lt;h1&gt;
  
  
  error - если мы будем использовать Variables не правильно
&lt;/h1&gt;

&lt;h1&gt;
  
  
  От многих значений к нескольким переменным
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Phyton позволяет назначать значения нескольким переменным в массиве:
&lt;/h1&gt;

&lt;p&gt;x, y, z = "Orange", "Banana", "Cherry"&lt;br&gt;
print(x)&lt;br&gt;
print(y)&lt;br&gt;
print(z)&lt;/p&gt;

&lt;h1&gt;
  
  
  И вы можете назначить одно и то же значение нескольким переменным в массиве:
&lt;/h1&gt;

&lt;p&gt;x = y = z = "Orange"&lt;br&gt;
print(x)&lt;br&gt;
print(y)&lt;br&gt;
print(z)&lt;/p&gt;

&lt;h1&gt;
  
  
  Phyton print() функция часто используется для вывода переменных.
&lt;/h1&gt;

&lt;p&gt;x = "Phyton is awesome" &lt;br&gt;
print(x)&lt;/p&gt;

&lt;h1&gt;
  
  
  Print() в функции вы выводите несколько переменных, разделенных запятыми:
&lt;/h1&gt;

&lt;p&gt;x = "Phyton "&lt;br&gt;
y = "is "&lt;br&gt;
z = "awesome "&lt;br&gt;
print(x + y + z)&lt;/p&gt;

&lt;h1&gt;
  
  
  Unpack a Collection - Оберните пучок.
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Если у вас есть набор значений в списке' кортеж и т. д. Phyton позволяет извлекать переменные. Это называется распаковкой
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Для примера:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Открыть список:
&lt;/h1&gt;

&lt;p&gt;fruits = ["apple", "banana", "cherry"]&lt;br&gt;
x, y, z = fruits&lt;br&gt;
print(x)&lt;br&gt;
print(y)&lt;br&gt;
print(z)&lt;/p&gt;

&lt;p&gt;#Для чисел знак + действует как математический оператор:&lt;br&gt;
x = 5&lt;br&gt;
y = 10 &lt;br&gt;
print(x + y)&lt;/p&gt;

&lt;h1&gt;
  
  
  Phyton - Global Variables
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Global Variables - Глобальные Операторы
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Переменные, созданные вне функции (как во всех приведенных выше примерах), называются глобальными переменными.
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Глобальные переменные доступны каждому как внутри, так и за пределами функций.
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Для примера:
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Создайте переменную вне функции и используйте ее внутри функции
&lt;/h1&gt;

&lt;p&gt;x = "awesome"&lt;/p&gt;

&lt;p&gt;def myfunc():&lt;br&gt;
  print("Phyton is " + x)&lt;/p&gt;

&lt;p&gt;myfunc()&lt;/p&gt;

&lt;p&gt;x = 500&lt;br&gt;
y = 200&lt;br&gt;
z = x*y&lt;br&gt;
print(z)&lt;/p&gt;

&lt;p&gt;x = 24&lt;br&gt;
y = 9&lt;br&gt;
z = x/y&lt;br&gt;
print(z)&lt;/p&gt;

&lt;p&gt;Цена = 3500.60&lt;br&gt;
Количество = int(input("Сколько хлебов вам надо?"))&lt;/p&gt;

&lt;p&gt;Вывод = количество * цена&lt;/p&gt;

&lt;p&gt;print("количество:", вывод)&lt;/p&gt;

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