Listing 08 - Page 0: No Title

##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 08\08.1256 - No Title.py
# Description: No Title
##############################################################################

def bar(n=10, c="*"):
    print(c * n)
L = [[5, "-"], [10, "*"], [5], [6, "."]]
for e in L:
    bar(*e)
Click here to download the file