Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Help with calling list from user input
Post: RE: Help with calling list from user input

(Nov-03-2019, 09:55 AM)Gribouillis Wrote: farispython Wrote:Can I make it to repeat the input when the value is not in the dictionary, instead of being error?Yes, you only need to change 3 lines ...
farispython General Coding Help 5 2,756 Nov-03-2019, 02:42 PM
    Thread: Help with calling list from user input
Post: RE: Help with calling list from user input

(Nov-03-2019, 08:09 AM)Gribouillis Wrote: A better way is to use a dictionary database = { "phe": ["UUU", "UUC"], "leu": ["UUA", "UUG", "CUU", "CUC", "CUA", "CUG"], "ile": ["AUU", "AUC",...
farispython General Coding Help 5 2,756 Nov-03-2019, 09:09 AM
    Thread: Help with calling list from user input
Post: Help with calling list from user input

I am new to python and need help. I tried to call the list using an input from the user but I got creating a new list instead of calling the existing one. Here is the previous code: aa = input("pleas...
farispython General Coding Help 5 2,756 Nov-03-2019, 07:22 AM

User Panel Messages

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