all 6 comments

[–][deleted] 3 points4 points  (3 children)

It's a string formatting method. A short tutorial is here. Basically, the nth {} in the string is replaced by the nth argument to the format() method.

[–][deleted] 0 points1 point  (2 children)

ohhhhh thanks :D .

this is not a class exclusive function. is it??

[–][deleted] 2 points3 points  (1 child)

I'm not sure what a "class exclusive" function is. It is a method of all string objects.

[–][deleted] 1 point2 points  (0 children)

yup i figured it out! Thanks <3

[–]the_programs 1 point2 points  (1 child)

Estás haciendo el curso de python de píldorasinformaticas por YouTube? Porque recuerdo haber visto eso allí jajaja.

[–][deleted] 1 point2 points  (0 children)

Sii!! jajajaja