Skip to content

T-Python-Sep-24/LAB_FUNCTIONS_101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

LAB_FUNCTIONS_101

Create a function that takes 1 parameter of type int , then it prints out the result formatted like the following patter (if we give it 5 for example):

Example Output for 5

5 4 3 2 1   
4 3 2 1   
3 2 1   
2 1   
1   

Document the newly created function. describe what it does, then print the documentation.

Bonus

Rewrite the previous function so that it returns the pattern as a string, then assign the result to a variables and print it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published