IIntroduction
In this blog, I will explain about assigning the values to the variables in Python. It will assign the values by the declaration of the various strings.
Software Requirement
Python3.5.2
Simple Programming
- print('Welcome To C#Corner.....')
- print("Assiging Values To Variables :")
- first_string="This Is First String..."
- Second_string="This Is Second String.."
- integer_value=10
- float_value=10.3
- print("Variables Are :%s,%s,%d,%f" % (first_string,Second_string,integer_value,float_value))
Explanation
In this blog, I will explain about assigning the values to the variables. If I declare the first value, second value, third value, fourth value; it will fully combine and print the value in the single line. It will be displayed in the Run module.
Output