Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 149 - 2615_KEC
P. 149

    Code:

                     Submission Guidelines
                     Code File:

                         o  Submit the Python file (.py) or share the Google Colab link.
                     Screen Recording:

                         o  Record a demonstration showing:

                                 Each menu option in use.
                                 Handling of invalid menu and number inputs.

                     Bonus Features

                     Retry Mechanism:
                         o  Allow the user to retry entering a valid input if they make an error.

                     Extended Menu:
                         o  Add options like checking if a number is perfect or a palindrome.

                     Loop Limit:
                         o  Restrict the number of iterations before exiting automatically, with a message.

                     Tips for Success

                     Input Validation:
                         o  Use try-except to handle non-numeric inputs gracefully.

                     Edge Cases:
                         o  Test the program with numbers like 0, 1, and large primes.

                     Code Comments:

                         o  Include comments to explain each part of the logic.

                     Optional Enhancements
                     Add a GUI using Tkinter for a more interactive experience.

                     Create a summary report of all the user's checks during a single session.

                                                                                                     Hands-On Project  147

| 144 145 146 147 148 149 150 151 152 153 154 |