Asigining Values To Variables In Python

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 
  1. print('Welcome To C#Corner.....')  
  2. print("Assiging Values To Variables :")  
  3. first_string="This Is First String..."  
  4. Second_string="This Is Second String.."  
  5. integer_value=10  
  6. float_value=10.3  
  7. 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

Output
Ebook Download
View all
Learn
View all