β€ππWhat is a Variable?
Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.π§‘ππ
Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.π§‘ππ
Learn Programming Group
https://t.me/learn_programming_coding_group
https://t.me/learn_programming_coding_group
π1
π»π₯π»π₯π»π₯π»π₯π»π₯π»π₯π»
DATA TYPES
Variables come in all shapes and sizes. Some are used to store numbers, some are used to store text and some are used for much more complicated types of data.
*β£The data types to know are:
βΊString (or str or text). Used for a combination of any characters that appear on a keyboard, such as letters, numbers and symbols.
*β£Character (or char). Used for single letters.
βΉInteger (or int). Used for whole numbers.
βΊFloat (or Real). Used for numbers that contain decimal points, or for fractions.
*β£Boolean (or bool). Used where data is restricted to True/False or yes/no options.
*β£βΊβΉ Different data types can occur in a real-life database example. In a film database, string links to title, float or real links to rating, integer links to times viewed and Boolean links to favourite.
In many programming languages variables must be declared before they can be used, for example:
π±π²π²π±π²π±π²π±π²π±π²
Visual Basic - dim score as int
Java β int score;
In some languages, such as Python, you can simply start using the variable without declaring it.
@learn_programming_coding
DATA TYPES
Variables come in all shapes and sizes. Some are used to store numbers, some are used to store text and some are used for much more complicated types of data.
*β£The data types to know are:
βΊString (or str or text). Used for a combination of any characters that appear on a keyboard, such as letters, numbers and symbols.
*β£Character (or char). Used for single letters.
βΉInteger (or int). Used for whole numbers.
βΊFloat (or Real). Used for numbers that contain decimal points, or for fractions.
*β£Boolean (or bool). Used where data is restricted to True/False or yes/no options.
*β£βΊβΉ Different data types can occur in a real-life database example. In a film database, string links to title, float or real links to rating, integer links to times viewed and Boolean links to favourite.
In many programming languages variables must be declared before they can be used, for example:
π±π²π²π±π²π±π²π±π²π±π²
Visual Basic - dim score as int
Java β int score;
In some languages, such as Python, you can simply start using the variable without declaring it.
@learn_programming_coding
π»π₯π»π₯π»π₯π»π₯π»π₯π»π₯π»
WHY TO LEARN PYTHON?
π΄π΅Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages.β«βͺ
πΊπ»Python is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Web Development Domain. I will list down some of the key advantages of learning Python:π»πΊ
βββ Python is Interpreted β Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.
βββ Python is Interactive β You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.
βββ Python is Object-Oriented β Python supports Object-Oriented style or technique of programming that encapsulates code within objects.
βββ Python is a Beginner's Language β Python is a great language for the beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games.
WHY TO LEARN PYTHON?
π΄π΅Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages.β«βͺ
πΊπ»Python is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Web Development Domain. I will list down some of the key advantages of learning Python:π»πΊ
βββ Python is Interpreted β Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.
βββ Python is Interactive β You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.
βββ Python is Object-Oriented β Python supports Object-Oriented style or technique of programming that encapsulates code within objects.
βββ Python is a Beginner's Language β Python is a great language for the beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games.
π»πΊπ»πΊπ»πΊπ»πΊπ»πΊπ»πΊ
π΄Characteristics of Python
Following are important characteristics of Python Programming β
βIt supports functional and structured programming methods as well as OOP.
βIt can be used as a scripting language or can be compiled to byte-code for building large applications.
βIt provides very high-level dynamic data types and supports dynamic type checking.
βIt supports automatic garbage collection.
βIt can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
@learn_programming_coding
π΄Characteristics of Python
Following are important characteristics of Python Programming β
βIt supports functional and structured programming methods as well as OOP.
βIt can be used as a scripting language or can be compiled to byte-code for building large applications.
βIt provides very high-level dynamic data types and supports dynamic type checking.
βIt supports automatic garbage collection.
βIt can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
@learn_programming_coding
πΆπ·πΆπ·πΆπ·πΆπ·πΆπ·πΆπ·πΆπΆπ·
β βApplications of Pythonββ
π·πΆAs mentioned before, Python is one of the most widely used language over the web. I'm going to list few of them here:
πΉEasy-to-learn β Python has few keywords, simple structure, and a clearly defined syntax. This allows the student to pick up the language quickly.πΈ
πΈEasy-to-read β Python code is more clearly defined and visible to the eyes.πΉ
πΉEasy-to-maintain β Python's source code is fairly easy-to-maintain.πΈ
πΈA broad standard library β Python's bulk of the library is very portable and cross-platform compatible on UNIX, Windows, and Macintosh.πΉ
πΉInteractive Mode β Python has support for an interactive mode which allows interactive testing and debugging of snippets of code.πΈ
πΈPortable β Python can run on a wide variety of hardware platforms and has the same interface on all platforms.πΉ
πΉExtendable β You can add low-level modules to the Python interpreter. These modules enable programmers to add to or customize their tools to be more efficient.πΈ
πΈDatabases β Python provides interfaces to all major commercial databases.πΉ
πΉGUI Programming β Python supports GUI applications that can be created and ported to many system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.πΈ
πΉScalable β Python provides a better structure and support for large programs than shell scripting.πΈ
@learn_programming_coding
π«β¬οΈβ¬οΈπͺπ¦π©π¨π§π₯π«β¬οΈβ¬οΈπͺπ¦π©π¨
β βApplications of Pythonββ
π·πΆAs mentioned before, Python is one of the most widely used language over the web. I'm going to list few of them here:
πΉEasy-to-learn β Python has few keywords, simple structure, and a clearly defined syntax. This allows the student to pick up the language quickly.πΈ
πΈEasy-to-read β Python code is more clearly defined and visible to the eyes.πΉ
πΉEasy-to-maintain β Python's source code is fairly easy-to-maintain.πΈ
πΈA broad standard library β Python's bulk of the library is very portable and cross-platform compatible on UNIX, Windows, and Macintosh.πΉ
πΉInteractive Mode β Python has support for an interactive mode which allows interactive testing and debugging of snippets of code.πΈ
πΈPortable β Python can run on a wide variety of hardware platforms and has the same interface on all platforms.πΉ
πΉExtendable β You can add low-level modules to the Python interpreter. These modules enable programmers to add to or customize their tools to be more efficient.πΈ
πΈDatabases β Python provides interfaces to all major commercial databases.πΉ
πΉGUI Programming β Python supports GUI applications that can be created and ported to many system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.πΈ
πΉScalable β Python provides a better structure and support for large programs than shell scripting.πΈ
@learn_programming_coding
π«β¬οΈβ¬οΈπͺπ¦π©π¨π§π₯π«β¬οΈβ¬οΈπͺπ¦π©π¨
π1
This media is not supported in your browser
VIEW IN TELEGRAM
π¨βπ»How to download Python On Windowsπ©βπ»
β Here are the steps to install Python on Windows machine.
1β£Open a Web browser and go to https://www.python.org/downloads/.
2β£Follow the link for the Windows installer python-XYZ.msi file where XYZ is the version you need to install.
3β£To use this installer python-XYZ.msi, the Windows system must support Microsoft Installer 2.0. Save the installer file to your local machine and then run it to find out if your machine supports MSI.
4β£Run the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished, and you are done.
Join Here https://t.me/joinchat/USA_AOeOziA7NZqz
β Here are the steps to install Python on Windows machine.
1β£Open a Web browser and go to https://www.python.org/downloads/.
2β£Follow the link for the Windows installer python-XYZ.msi file where XYZ is the version you need to install.
3β£To use this installer python-XYZ.msi, the Windows system must support Microsoft Installer 2.0. Save the installer file to your local machine and then run it to find out if your machine supports MSI.
4β£Run the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished, and you are done.
Join Here https://t.me/joinchat/USA_AOeOziA7NZqz
Python.org
Download Python
The official home of the Python Programming Language
π1
βοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈ
π©βπ»Python Install
Many PCs and Macs will have python already installed.π¨βπ»
π»To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line (cmd.exe):
π₯C:\Users\Your Name>python --version
π²To check if you have python installed on a Linux or Mac, then on linux open the command line or on Mac open the Terminal and type:
python --version
β¬β¬β¬If you find that you do not have python installed on your computer, then you can download it for free from the following website: https://www.python.org/
π±β¨Python Quickstart
Python is an interpreted programming language, this means that as a developer you write Python (.py) files in a text editor and then put those files into the python interpreter to be executed.β¨π±
π½πΎThe way to run a python file is like this on the command line:
C:\Users\Your Name>python helloworld.py
Where "helloworld.py" is the name of your python file.
π₯Let's write our first Python file, called helloworld.py, which can be done in any text editor.π₯
helloworld.py
π¨ print("Hello, World!") π¨
Simple as that. Save your file. Open your command line, navigate to the directory where you saved your file, and run:
πΎC:\Users\Your Name>python helloworld.pyπΎ
β¬The output should read:β¬
Hello, World!
πππCongratulations, you have written and executed your first Python program.ππ
πππππππβ¨
π΄π π‘π’π΅π£β«οΈβͺοΈπ€
π©βπ»Python Install
Many PCs and Macs will have python already installed.π¨βπ»
π»To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line (cmd.exe):
π₯C:\Users\Your Name>python --version
π²To check if you have python installed on a Linux or Mac, then on linux open the command line or on Mac open the Terminal and type:
python --version
β¬β¬β¬If you find that you do not have python installed on your computer, then you can download it for free from the following website: https://www.python.org/
π±β¨Python Quickstart
Python is an interpreted programming language, this means that as a developer you write Python (.py) files in a text editor and then put those files into the python interpreter to be executed.β¨π±
π½πΎThe way to run a python file is like this on the command line:
C:\Users\Your Name>python helloworld.py
Where "helloworld.py" is the name of your python file.
π₯Let's write our first Python file, called helloworld.py, which can be done in any text editor.π₯
helloworld.py
π¨ print("Hello, World!") π¨
Simple as that. Save your file. Open your command line, navigate to the directory where you saved your file, and run:
πΎC:\Users\Your Name>python helloworld.pyπΎ
β¬The output should read:β¬
Hello, World!
πππCongratulations, you have written and executed your first Python program.ππ
πππππππβ¨
π΄π π‘π’π΅π£β«οΈβͺοΈπ€
Python.org
Welcome to Python.org
The official home of the Python Programming Language
Media is too big
VIEW IN TELEGRAM
Python Tutorial - Python for Beginners [Full Course]
This media is not supported in your browser
VIEW IN TELEGRAM
Forwarded from Deleted Account
βοΈHow to Enable Desktop Notifications for Gmail in Windows 10.
ββββββββββββββ
β We will be sharing a detailed guide on how to enable desktop notifications for Gmail. Letβs check out.
πΉStep 1: First of all, open Google Chrome browser on login with your Gmail account.
πΉStep 2: On the Gmail account, tap on the βGearβ icon.
πΉStep 3: Next, click on the βSee all Settingsβ option.
πΉStep 4: Under the βGeneralβ tab, scroll down and find the βDesktop Notificationsβ section.
πΉStep 5: Now you need to enable the option βNew mail notifications on.β You can even select the βImportant mail notifications onβ if you want Gmail to notify only when an important message arrives in your inbox.
πΉStep 6: Once done, click on the option βClick here to enable desktop notifications for Gmailβ.
πΉStep 7: Now on the popup, select βAllow.β
βοΈNote: If you are not receiving the desktop notifications, you need to enable Google Chromeβs notification from the app settings. For that open Settings > System > Notifications & Actions > Google Chrome. Make sure that the notifications were turned on.
β Thatβs it! You are done. This is how you can enable desktop notifications for Gmail.
Keep supporting usβ€οΈ,
β@learn_programming_codingβ
ββββββββββββββ
β We will be sharing a detailed guide on how to enable desktop notifications for Gmail. Letβs check out.
πΉStep 1: First of all, open Google Chrome browser on login with your Gmail account.
πΉStep 2: On the Gmail account, tap on the βGearβ icon.
πΉStep 3: Next, click on the βSee all Settingsβ option.
πΉStep 4: Under the βGeneralβ tab, scroll down and find the βDesktop Notificationsβ section.
πΉStep 5: Now you need to enable the option βNew mail notifications on.β You can even select the βImportant mail notifications onβ if you want Gmail to notify only when an important message arrives in your inbox.
πΉStep 6: Once done, click on the option βClick here to enable desktop notifications for Gmailβ.
πΉStep 7: Now on the popup, select βAllow.β
βοΈNote: If you are not receiving the desktop notifications, you need to enable Google Chromeβs notification from the app settings. For that open Settings > System > Notifications & Actions > Google Chrome. Make sure that the notifications were turned on.
β Thatβs it! You are done. This is how you can enable desktop notifications for Gmail.
Keep supporting usβ€οΈ,
β@learn_programming_codingβ
π2
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM