Computer Science, asked by smiley2376, 1 month ago

Q1. Write a Python program of function calculation() such that it can accept two variables and calculate the addition and subtraction of it. And also it must return both addition and subtraction in a single return call.



Q2. Write a python program with functions that checks whether the number is perfect, prime and palindrome or not

Answers

Answered by AkelaRavan000
3

Explanation:

Given a positive integer N, The task is to write a Python program to check if the number is prime or not.

Answered by DaRvl
0

Answer:

palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the same when its digits are reversed. ... The palindromic primes are 2, 3, 5, 7, 11, 101, 131, 151, … (sequence A002385 in the OEIS).

Similar questions