Posts

Showing posts from November, 2020

Prime Numbers Checker, Prime Factors using (Python GUI + backEnd + Main)

Image
Prime Factors of Prime Numbers Checker This picture shows all the codes are gonna be executed here, thus making this our main file.  The highlighted word "import" depicts that we are gonna import a module or a file, this allows us to be able to crossover between files easily. The second picture shows the front part of our activity, it is the design or the layout. We can see that I also imported something here, "from tkinter import*" this simply means that from the given module or the stated module which is "tkinter" we are importing all which the "*" stands for. A Class is like an object constructor, or a "blueprint" for creating objects, here I made a class which name is "primeNumber" so that we can group all the objects inside it. The "def" is what we call a function in python. A function is a block of code which only runs when it is called. We can also pass data in a function and they are known as parameters, a fu...