Hands-on lab

Python Programming for Application Development: Practical Python for Technology Professionals
Lesson Content
0% Complete

Build a small utility with one helper module and one main script. The helper module should contain at least one function that formats a fictional application name or build label.

Reveal step-by-step solution

1. Create helpers.py. 2. Define a function such as def format_app_name(name): return name.strip().title(). 3. Create main.py. 4. Import the function using from helpers import format_app_name. 5. Call the function with a fictional name like 'nova desk'. 6. Print the returned result and verify the formatting works.