def rjust(s, width):
 n = (width - len(s))
 if (n <= 0):
  return s
 return ((' ' * n) + s)

def rjust ( s , width ) : n = ( width - len ( s ) ) if ( n <= 0 ) : return s return ( ( ' ' * n ) + s )
right-aligns the value in a field of a given width argument: field size .