The variables ph1 to ph10 represents 10 different real-time phishing emails. Note that these can be saved within a list as a list of values.
Numpy methods used to compute EMI:
numpy.ppmt(rate, nper, pv, fv, when = ‘end’) : This financial function helps user to compute payment…
numpy.ppmt(rate, nper, pv, fv, when = ‘end’)
Problem Description
The program takes a string and checks whether a string is a palindrome or not using recursion.
“Recursion is a process in which a problem is defined in terms of itself”.
The problem is solved by repetitively breaking it into a smaller problem which is similar in…
(simulates a dice).
randint()
randint() is an inbuilt function of the random module in Python3. The random module gives access to various useful functions and…
Problem 4 :
In this problem you will learn how to check whether a character entered by the user is alphabet or no. This problem is solved using if…else statement.
Problem 3 :
In this problem you will learn how to check whether a character entered by the user is vowel or consonant. This problem is solved using if…else statement.
Problem 2 :
In this problem you will learn how to check whether a number entered by the user is even or odd. This problem is solved using if…else statement.