Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

PYTHON PROBLEM SOLVING, Lab Reports of Computer Programming

Consists of programs involving lists, strings, dictionary and matrices

Typology: Lab Reports

2020/2021

Uploaded on 02/02/2021

vijayashri-harini-saikrishna
vijayashri-harini-saikrishna 🇮🇳

4.5

(2)

1 document

1 / 50

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1

PYTHON PROGRAMMING
SOFT REPORT
18.01.2020
ABHISHEK M B
BE CSE
G1
GUIDED BY - DR. SANTHI V
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32

Partial preview of the text

Download PYTHON PROBLEM SOLVING and more Lab Reports Computer Programming in PDF only on Docsity!

PYTHON PROGRAMMING

SOFT REPORT

ABHISHEK M B

BE CSE

G

GUIDED BY - DR. SANTHI V

CONTENTS :-

**1. LIST

  1. MATRICES
  2. STRINGS
  3. DICTIONARY**

PROGRAMS INVOLVING LISTS : -

PROGRAM TO FIND N LARGEST ELEMENTS FROM A LIST

PROGRAM TO COUNT OCCURRENCES OF ELEMENTS IN A LIST

PROGRAM TO PRINT DUPLICATES FROM A LIST OF INTEGERS

PROGRAM TO BREAK A LIST INTO CHUNKS OF SIZE N

PROGRAM TO PRINT ALL POSITIVE NUMBERS IN A RANGE

PROGRAM TO REMOVE EMPTY TUPLES FROM A LIST

1) PROGRAM TO FIND N LARGEST ELEMENTS FROM THE LIST : -

2) PROGRAM TO COUNT OCCURRENCES OF AN ELEMENT :-

OUTPUT OF THE PROGRAM :-

OUTPUT OF THE PROGRAM :-

4) PROGRAM TO BREAK A LIST INTO CHUNKS OF SIZE :-

5) PROGRAM TO PRINT ALL POSITIVE NUMBERS IN THE LIST : -

OUTPUT OF THE PROGRAM :-

OUTPUT OF THE PROGRAM :-

7) PROGRAM TO SORT THE VALUES OF FIRST LIST USING SECOND LIST :

PROGRAM INVOLVING MATRICES :-

PROGRAM TO ADD TWO MATRICES

PROGRAM TO MULTIPLY TWO MATRICES

PROGRAM TO OBTAIN TRANSPOSE OF A MATRIX

PROGRAM TO GET K-TH COLUMN OF A MATRIX