Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CMPE 1 3 0 WEEK 9 LAB WORKSHEET Make sure you write all your programs to work with other numeric values ( other than the

CMPE 130 WEEK 9 LAB WORKSHEET
Make sure you write all your programs to work with other numeric values (other than the given ones) as well
Q1) You have 3 files namely FileA, FileB and FileC. FileA has the following content:
"Computers are your future."
FileB has the following content:
"Early computers were meant to be used only for calculations."
Write a Python program that reads the contents from these 2 files and merges them into the FileC.
Q2) Write a Class named "Finder" that takes 2 arguments in its constructor namely "string" and "letter". This class will have a separate method named "letterFinder" that uses the arguments sent to the constructor, checks and prints weather the string contains the letter or not.
image text in transcribed

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

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions

Question

5. Have you any experience with agile software development?

Answered: 1 week ago