+ 2
x=('{} man'.format('Hi')) #output=Hi man In this code,(curly brackets ){} in x variable is placeholder and Hi is placeholder variable.This is a string formatting concept.
2nd Jul 2018, 6:29 AM
Maninder $ingh
Maninder $ingh - avatar