Python Program Modularization

Invite Friends
Facebook Twitter Google+ LinkedIn Email

All Information Should Be Free

Join today and get unlimited free access to the industry's best cyber security training and content.


Already a member? Login to View this Lesson

Python Program Modularization

Python Program Modularization

This lesson focuses on how to properly modularize a program and do several different tasks, choose between them, let them work independently or in certain cases, work with other functions. Participants learn step by step instructions and can work along with the instructor as they learn the following:

Write a program with a menu that includes the following functions:

  • Accept and store a string
  • Basic calculator
  • Print the previously stored string
  • Compare two numbers to determine the larger
  • Remove a selected letter from a string


When writing code, it is important to remember that the simpler your code, the easier it is to repair any problems or issues that arise.

Coming Soon
Learn on the go.
The app designed for the modern cyber security professional.
Get it on Google PlayGet it on the App Store
Upcoming Industry Events

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play

Support Cybrary

Donate Here to Get This Month's Donor Badge



Kali Linux – Hacking Tutorials
Views: 2072 / March 22, 2017
FTP Automated Shell Scripts
Views: 837 / March 22, 2017
StoneDrill Malware
Views: 2287 / March 21, 2017
Anatomy of a Ransomware Attack – Part 6
Views: 1428 / March 21, 2017
Skip to toolbar
Cybrary works best if you switch to our Android-friendly app

We recommend always using caution when following any link

Are you sure you want to continue?