Practical Programs Solution KVCTC
Practical Programs Solution KVCTC
DATE:
CODE:
PRACTICAL-4
====
1+x+x2+x3+x4+………xn
=============================
======
Code:
CODE:
CODE:
CODE:
PRACTICAL-12
AIM: Write a python program to input a
number and check if the number is a prime or
a composite number.
(Prime no:A positive integer greater than 1 which has no other factors except 1 and
the number itself is called a prime number. 2, 3, 5, 7 etc. are prime numbers as they do
not.)
CODE:
PRACTICAL-13
AIM: Write a python program to print
Fibonacci series up to the entered n
positive number.
CODE:
Output
PRACTICAL-12
DATE: 14.10.2020
CODE:
Output of a program: