Department of Computer Science (CS) Fatima Jinnah Women University Rawalpindi

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

Department of Computer Science (CS)

Fatima Jinnah Women University Rawalpindi


Lab#01
Submitted By:
Misbah Nazeer Gondal
Registration No:
2018-BCS-076
Submitted To:
Mr Adeek Khalid

Date:
17-02-2021
Installation of Anaconda Navigator

 Installion of anaconda for window 64-bit


 Welcome to anaconda and then, Click next

 Click I Agree for the license agreement


 Install for just me and Click next

 Then choose the location and click next


 Click to install

 Anaconda is installing
 Anaconda is installing
 Anaconda installation is completed

 Then Click next


 Now click Finish.

 Here is the display of anaconda navigator


Example#01

Example#02
Example#03
Task#01
Rearrange the list in ascending/descending order python without
using built in method.
Ascending order:

Descending order:
Lab#02
Task#01
Implement all feature of OOP in animal class using python.
Inheritance:
Polymorphism:
Abstraction:
class Animal:

_name= ""

def _init_(self):

self._name="Cat"

print( self._name)

def eat(self):

print( self._name,"can eat")

def run(self):

print( self._name,"can run")

Cat= Animal()

cat.eat()

cat.run()

Encapsulation
Output

You might also like