Question: ( all answers in python pls ) Question 1 a ) Write a program to print twin primes less than 1 0 0 0 .

(all answers in python pls)
Question 1
a) Write a program to print twin primes less than 1000. If two consecutive odd numbers are both prime then they are known as twin primes.
4 Marks
b) Write a program to find out the prime factors of a number. Example: prime factors of 562,2,2,7.
4 Marks
c) Write a Python program to implement these formulae of permutations and combinations.
4 Marks
d) Write a function cubesum 0 that accepts an integer and returns the sum of the cubes of individual digits of that number. Use this function to make functions PrintArmstrong() and is Armstrong0 to print Armstrong numbers and to find whether is an Armstrong number.
4 Marks
Question 2
a) Create a basic calculator that can perform addition, subtraction, multiplication, and division.
8 Marks
b) Create a basic currency converter that can perform currency converter of at least 10 currencies of your choice.
8 Marks
Question 3
a) What are the four main principles of OOP, and how are they implemented in Python?
4 Marks
b) Write a simple Python program to simulate your bank account with withdrawing and deposit functions.
4 Marks
c) Write a simple Python application for adding income, and expenses, viewing, and updating details like salary and expenses. (Expense Tracker App).
4 Marks
( all answers in python pls ) Question 1 a )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!