> என் ராஜபாட்டை : 12th STD || Part-4 - Chap 8 || Strings and String Manipulation

.....

.

Sunday, May 16, 2021

12th STD || Part-4 - Chap 8 || Strings and String Manipulation

 


 

 

String Formatting Operators


The string formatting operator is one of the most exciting feature of python. The formatting operator % is used to construct strings, replacing parts of the strings with the data stored in variables.


Syntax:


(“String to be display with %val1 and %val2” %(val1, val2))
name = "Rajarajan"
mark = 98
print ("Name: %s and Marks: %d" %(name,mark))
Output
Name: Rajarajan and Marks: 98

 

 

VIDEO LINK:

 

 12th STD || Part-4 - Chap 8 ||  Strings and String Manipulation

 

 

 

WATCH HERE:

 

 


 

 

 

YOUTUBE LINK:

 

CLICK HERE

 

 

No comments:

Post a Comment

உங்கள் கருத்துகளை சொல்லுங்கள்

 
 
Related Posts Plugin for WordPress, Blogger...