top of page

"Why Python is fun for me? " 

Immersing in the world of coding and learning a new computer language give me more ways to explore and create new ideas with new strings of commands. It's fun to be creative and I love working with python to see my creations come to live. 

Prime Factorisation

Project Description:

This program finds the prime numbers that multiply back to the original number. (Example: 18's prime factors are 2*3*3 as 2*3*3=18)

​

Challenges:

I had difficulties checking if the factors of the number are prime and how many times the prime factor repeats itself.

​

Improvements:
I could improve the program in the last part where the program asks if you wanted to try a new number. Currently, if you type in anything except "yes", the program will stop. I want to make it so that the user can only type in "no" to stop the program. Also, I would like to further improve by showing an error message if the user inputs a non-number.

​

Guess that Number

Project Description:

1. The program will randomly generate a four-digit number with different digits.

2. User will have to guess the four-digit number.

3. If there are matching digits and they are in the right position, they are "bulls"

4. If the digits are in different positions, they are "cows".

​

Challenges:

I had challenges generating a number where all digits are distinct. After much research, I realise I could use the random module and use the function .sample().

​

Improvement:

Instead of just 4 digits, I could improve the program by allowing the user to choose the number of digits in the number.

​

Python Quiz

Project Description:

This program questions the user via MCQ, MRQ, and SAQ.

 

Challenges:
I had challenges creating questions that were difficult but solvable for everyone.

​

Improvement:
I could improve the program by adding more questions and more topics.

© 2022 by Aidan Sin. Proudly created with Wix.com

bottom of page