String Formatting

  • + 0 comments

    and also a return type is different from xrange() and range(). range()-This returns a range object (a type of iterable). xrange()-This function returns the generator object that can be used to display numbers only by looping.