[issue45989] Getting key of max value of dict really dose not sense

2021-12-05 Thread Masoud Azizi
New submission from Masoud Azizi : Maximum_signal_key=max(collective_signals,key=collective_signals.get) This code is really hard to learn and remember. Please change it to something that more sense. -- messages: 407719 nosy: mablue priority: normal severity: normal status: open title

[issue43701] Add this optionality

2021-04-01 Thread Masoud Azizi
New submission from Masoud Azizi : I want to rediuse two var togeder! When i do that buy sum is rediuse to zero and not effect the sellsum buySum[pair] -= sellSum[pair] sellSum[pair] -= buySum[pair] Cuz of that i try this statment but its not work! Its a simple code that will python support

[issue43134] (list have item) instate (item in list)

2021-02-14 Thread Masoud Azizi
Masoud Azizi added the comment: Linus makes the Linux kernel without expecting benefits. USA start a war against German and Japan in ww2 without expecting benefits. Some times we should not think about benefits, just we will do it, if its the right thing. A child never will not born

[issue43134] (list have item) instate (item in list)

2021-02-07 Thread Masoud Azizi
Change by Masoud Azizi : -- status: closed -> open ___ Python tracker <https://bugs.python.org/issue43134> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43134] (list have item) instate (item in list)

2021-02-07 Thread Masoud Azizi
Masoud Azizi added the comment: powerful languages always reduces multi-lines to one line. like python than make it ease to say a,b=1,3 and now we shroud have a command to say that i want to search in some one that i know him but still i did not know what i want to search I'm waiting to get

[issue43134] (list have item) instate (item in list)

2021-02-07 Thread Masoud Azizi
Masoud Azizi added the comment: English is a powerful language too. In English we have just one way to say someone have something too. there is one way to say that are you have this or not cuz of that: in this one line simple code we check the search keyword after all 10 inputs print([input

[issue43134] (list have item) instate (item in list)

2021-02-05 Thread Masoud Azizi
New submission from Masoud Azizi : Please append a code to reverse check?like that? print([input() for i in'_'*10] have input()) Instade of: print(input() in [input() for i in'_'*10] ) i want to check that: is last input in the inputs or not! -- messages: 386522 nosy: mablue