130. Python Program to Print a Welcome Banner Using a Function
EasyFunctions
Overview
Define your first function with def, then call it again and again.
Problem Statement
Write a function called show_banner() that prints these three lines:
*********************
Welcome to LivePython
*********************
Then read a whole number and call show_banner() that many times. For example, for 2 the banner is printed twice, one copy under the other.
Use input() with no prompt text: the tests type the input for you, and a prompt would end up in your output.
Input
One whole number, 1 or more. Example:
2
Output
The output for that example:
*********************
Welcome to LivePython
*********************
*********************
Welcome to LivePython
*********************
The tests try 3 different inputs.