Python  1.0
Functions | Variables
_08a_emoldura Namespace Reference

Formatting prints. More...

Functions

def emoldura (l, max_n)
 Frames text lines. More...
 
def main ()
 Main function for testing. More...
 

Variables

 input = raw_input
 

Detailed Description

Formatting prints.

Author
Paulo Roma

Function Documentation

◆ emoldura()

def _08a_emoldura.emoldura (   l,
  max_n 
)

Frames text lines.

    **************************
    *Python enables programs *
    *to be written           *
    *compactly and readably  *
    **************************
   
Parameters
llist of strings.
max_nmaximum length of all strings in l.

Referenced by main().

◆ main()

def _08a_emoldura.main ( )

Main function for testing.

Reads text lines until an empty "enter" is pressed.

References emoldura(), and input.

Variable Documentation

◆ input

_08a_emoldura.input = raw_input

Referenced by main().