Computers and Technology

Using pythonwrite a program to test if the two words entered by the user is an anagram. create functions for this programa. def are_anagrams()b. main function for user input and use try and except statements to handle valueerror. program will only accept two words, anything other than two words entered by user will show bad input and program will ask user to enter again. c. program ends once user enters two words and give result if they are anagrams. (hint : .split() gives a list check list length )program run: anagram testenter two words separated by a space : fredbad inputenter two words separated by a space : fred joe marybad inputenter two words separated by a space : cinema icemanthe words cinema and iceman are anagrams.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:00, Ltik11900
Write the command that can be used to answer the following questions. (hint: try each out on the system to check your results.) a. find all files on the system that have the word test" as part of their filename. b. search the path variable for the pathname to the awk command. c. find all files in the /usr directory and subdirectories that are larger than 50 kilobytes in size. d. find all files in the /usr directory and subdirectories that are less than 70 kilobytes in size. e. find all files in the / directory and subdirectories that are symbolic links. f. find all files in the /var directory and subdirectories that were accessed less than 60 minutes ago. g. find all files in the /var directory and subdirectories that were accessed less than six days ago. h. find all files in the /home directory and subdirectories that are empty. i. find all files in the /etc directory and subdirectories that are owned by the group bin."
Answers: 1
image
Computers and Technology, 23.06.2019 12:30, umimgoingtofail
What is the difference between the internet and the world wide web?
Answers: 1
image
Computers and Technology, 23.06.2019 16:30, azainababbas
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
image
Computers and Technology, 24.06.2019 11:00, asiaosterling
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
Do you know the correct answer?
Using pythonwrite a program to test if the two words entered by the user is an anagram. create funct...

Questions in other subjects:

Konu
English, 20.10.2020 08:01
Konu
Mathematics, 20.10.2020 08:01
Konu
Mathematics, 20.10.2020 08:01
Konu
English, 20.10.2020 08:01
Konu
French, 20.10.2020 08:01