Tinput : string = 'This article is written in {}' print (str.format('Python')) Output : This article is written in Python think this syntax is wrong and thus confusing to someone trying to learn.Comment·Article·Jan 27, 2021·Python Built-in String Methods/ Functions 1 :)
TLook forward to part 3, this has been helpful in illustrating some concepts I was struggling to conceptualise while learning pythonComment·Article·Jan 25, 2021·Making PONGPONG - Game Development using Pyglet - Part 2