Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Swap key and value of a dictionary - and sort it
Post: RE: Swap key and value of a dictionary - and sort ...

Dears, Thank you so much for taking time to reply my question. It appears that the instructions were confusing and my code was indeed correct. Regards Omid
Omid General Coding Help 4 2,850 Oct-28-2020, 01:24 PM
    Thread: Swap key and value of a dictionary - and sort it
Post: Swap key and value of a dictionary - and sort it

Hello, The input is this: Output:{'Accurate': ['exact', 'precise'], 'exact': ['precise'], 'astute': ['Smart', 'clever'], 'smart': ['clever', 'bright', 'talented']}And the output is supposed to be th...
Omid General Coding Help 4 2,850 Oct-27-2020, 03:24 PM
    Thread: Find Mismatch Between Two Strings
Post: RE: Find Mismatch Between Two Strings

Hello, Guys thank you all. Like you said the tricky part is to add/subtract a letter to make both strings identical. Perhaps a dictionary is helpful. I'm still working on it.
Omid Homework 8 5,115 Oct-19-2020, 01:46 PM
    Thread: Find Mismatch Between Two Strings
Post: Find Mismatch Between Two Strings

Hello, Please help me with this: The function has two parameters, str1 and str2, and should return: 0 if both are identical (Dog and dog) 1 if there is one single different character and if you add...
Omid Homework 8 5,115 Oct-16-2020, 07:06 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020