This is what I am supposed to do :
(Anagrams) An anagram of a string is another string formed by rearranging the letters in the first.
Write a script that produces all possible anagrams of a given string using only techniques that
you’ve seen to this point. (Translation Dictionary)
Use an online translation tool such as Bing Microsoft Translator or Google Translate to translate
English words to another language. Create a translations dictionary that maps the English words
to their translations.
5
Display a twocolumn table of translations.
(Synonyms Dictionary)
Use an online thesaurus to look up synonyms for five words, then create a synonyms dictionary
that maps those words to lists containing three synonyms for each word.
Display the dictionary’s contents as a key with an indented list of synonyms below it.
This is what I have done so far :
(Anagrams) An anagram of a string is another string formed by rearranging the letters in the first.
Write a script that produces all possible anagrams of a given string using only techniques that
you’ve seen to this point. (Translation Dictionary)
Use an online translation tool such as Bing Microsoft Translator or Google Translate to translate
English words to another language. Create a translations dictionary that maps the English words
to their translations.
5
Display a twocolumn table of translations.
(Synonyms Dictionary)
Use an online thesaurus to look up synonyms for five words, then create a synonyms dictionary
that maps those words to lists containing three synonyms for each word.
Display the dictionary’s contents as a key with an indented list of synonyms below it.
This is what I have done so far :
#Anagrams import random import dictionnary a = input("Please enter apers ") x = ["a","p","e","r","s"] try: while(a=="apers" or a=="Apers"): print(random.choice(x)+random.choice(x)+random.choice(x)+random.choice(x)+random.choice(x)) a = input("Please enter apers ") except: a = input("Please enter apers ")Thank u in advance


Larz60+ write May-08-2021, 04:23 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use bbcode tags on future posts.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use bbcode tags on future posts.