Skip to content
Saran Akkiraju edited this page Jun 9, 2019 · 1 revision

Objective

  • Write a program, which reads weights (lbs.) of N students into a list and convert these weights to kilograms in a separate list using:
  1. Loops and
  2. List comprehensions N: No of students (Read input from user)

Pgm1

  • Write a program that returns every other char of a given string starting with first using a function named “string_alternative”

pgm2

  • Write a python program to find the word count in a file for each line and then print the output. pgm3

input

Clone this wiki locally