You are on page 1of 4

Experiment Title.

: WAP to generate fibonacci series in python

Student Name:Ayush Suryawanshi UID:20BCS4424


Branch: CSE BD Section/Group: 20BDA4
Semester: 4 th
Date of Performance: 20/02/2022
Subject Name: Programming in Python Lab Subject Code- 22E-20CSP-286_20BDA-4_A

1. Tasks to be done:
To print the fibonacci series in python

2. Algorithm:
1. start

2. define two values as a=0 , b=1

3. take the input from user to print the no. Of fibonacci in the console

4. decrement n by 1

5. print 0 and 1 initially

6. run a while loop for n>0

7. define a=b b=c and c=a+b

8. print value of c as an integer

Department of Computer Science and Engineering, AIT


3. Screenshots:

4.Output:

Department of Computer Science and Engineering, AIT


Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):

Sr. No. Parameters Marks Obtained Maximum Marks


1.
2.
3.
Department of Computer Science and Engineering, AIT
Department of Computer Science and Engineering, AIT

You might also like