Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use Python for this assignment.. Assignment 2 on Chapters 4 and 5 Write a program that prints file names with a given extension. File

Please use Python for this assignment..
image text in transcribed
Assignment 2 on Chapters 4 and 5 Write a program that prints file names with a given extension. File extension is provided as an inpu List of files A1.txt B1.py C1.txt D1.doc E1.html F1.py G1.html (Save the module as Prob 1) 2. Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher (Save the module as Prob 2a). Write a script that inputs a line of encrypted text and a distance value and outputs plain text using a Caesar cipher (Save the module as 2b). 3. Write a code that gives: i) number of words ii) number of sentences i) average sentence size iv) average word size iv) words beginning with si or co and size greater than 9 in a text file. Use IOT.txt file to test the code. (Save the module as Prob 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genetic Databases

Authors: Martin J. Bishop

1st Edition

0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

2. Are my sources up to date?

Answered: 1 week ago

Question

LO2 Compare three types of individual incentives.

Answered: 1 week ago