What is Variable? A variable is nothing but a reserved memory location to store values. In other words a variable in a program gives data to the computer to work on. Every value in Python has a datatype. Different data types in Python are Numbers, List, Tuple, Strings, Dictionary, etc. Variables can be declared by any name or even alphabets like a, aa, abc etc. In this tutorial we will learn, How to declare and use a variable Re-declare a Variable Concatenate Variables Local & Global Variables Delete a variable How to declare and use a variable Let see an example. We will declare variable "a" and print it. a=100 print a The output of variable should be "100" Re-declare a Variable You can re-declare the variable even after you have declared it once. Here we have variable initialized to f=0. Later, we re-assign the variable f to value "guru99" Concatenate Variables Let's see whether you can concatenate di...
Very good blog! For sharing content and such nice information for me. I hope you will share some more content about. Please keep sharing! Php Web Development Services
ReplyDeleteThanks for posting this, Keep Sharing good content.
ReplyDeleteData Science Online Training
Python Online Training
Salesforce Online Training
ReplyDeleteQuick up your career with Azure Training in Chennai from Infycle Technologies, the best software training institute in Chennai. A massive place to learn topmost technical courses like Medical Coding, Mobile App Development, Data Science, Big Data, BlockChain, Full Stack Development, Digital Marketing with Graphic Design, Python, and Oracle with emphasized trainers of the industry. Speak to us on 7504633633, 7502633633 to know the updated offers for your learning.