Multiple Assignment and Data types
Multiple Assignment: Python programming language allow, you to declaration of multiple variable and its assign multiple value to the variables. For Example: X=y=z=10 Here, an integer object is created with the value 10, and all three variables are assigned to the same memory location. You can also assign multiple objects to multiple variables. x,y,z = 25,35,”Ramakant” Here, two integer objects with values 1 and 2 are assigned to variables x and y respectively, and one string object with the value "Ramakant" is assigned to the variable z. For Example: Write a program demonstrates the use of variable. a = 55 #here a is variable of integer type b = 35 c = a + b print("Addition of two Number is=",c) welcome = "Welcome" #here welcome is string variable aryan = " Aryan Computers, Barshi" welcome = welcome + " to " + aryan print(welcome) Output: This is how you cast one variabl