The number of 6-digit even numbers that can be made from the number 214635 are:
.png)
Welcome guys ,
Hope you have seen by intro blog about python. If not , have a look at Previous
In this blog , we are going learn about variables.
What are variables ?
The variables are the one which stores the values.
Like :
a = 5
Here , value '5' is stored in variable 'a'.
Once we print the variable 'a' we will get the values 5 . Like shown below in the screen shot
Output:
These the desired output which we get
Types of variables:
String coming to work this
Float is addition to integer which contains decimal part too
Eg :
2.34, 4 97 .......
You can find the type of the variable by using the type() function you may have a question what is functiions . I will explain it in furture .
Syntax:
type(var)
Program:
a = 5
print(type(a))
b = "honest guy"
print(type(b))
Look at this
Comments
Post a Comment