Python 3 Questiones (write the program 2)

May 27th, 2015
Price: $30 USD

Question description


1. You cannot import any module

2. The programs must be solved by Recursion 

3. Please use Python 3

4. Your answer must passed the before submit


Question 1:Write a program that displays all the possible words that can be created from the given letters.

1.Your program should first ask the user for the name of the file that contains all the possible 

a. There will be one word on each line of the file 

b. All of the words in the file are lower case 

2.Next your program should ask the user for the letters. The letters will be given on 1 line with a space between each character. 

3.Your program should then display all of the possible words that can be created using those letters. 

a. Each letter can only be used one time

  1. For example if the letters input were: a p, then app would not be a valid word because it used p twice even though there was only 1 p entered. In order for app to be a valid word the user would have to at least enter 'a p p' as input.

b. The results should be displayed in alphabetical order

c. Each word should only be displayed one time.



Tutor Answer

(Top Tutor) Akhil S336
School: UT Austin

Studypool has helped 1,244,100 students

Review from student
" Goes above and beyond expectations ! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1820 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors