16 May 20, 04:15 PM
akash: @Shivanand if(d == {}): return [] maxElem = max([int(s) for s in d.keys()]) return [d.get(x, 0) for x in range(maxElem+1)]
16 May 20, 04:14 PM
akash: @Shivanand if d=={}"
16 May 20, 01:58 AM
Shivanand: def convertDictionary(d): k = d.keys() lst = list(k) if len(d) == 0: return [] nl = [i for i in range(0,(1+lst[(len(lst)-1)])) ] l = [0 for n in nl] for x, y in d.items():
16 May 20, 01:57 AM
Shivanand: my program is as below
16 May 20, 01:57 AM
Shivanand: output of program for http://www.pyschools.com/quiz/view_question/s8-q11 works well in machine whereas gives error whole executing on pyshcool.com
16 May 20, 01:55 AM
Shivanand: need help
30 Apr 20, 08:42 AM
: 123
29 Apr 20, 02:14 PM
xuehui: @Azlan where are you from
29 Apr 20, 02:13 PM
xuehui: 123
29 Apr 20, 02:13 PM
xuehui: hello
11 Apr 20, 02:35 PM
L: hi
22 Mar 20, 08:43 AM
corolla hatchback T-VIRUS: need help :o someone
22 Mar 20, 08:42 AM
corolla hatchback T-VIRUS: SDFAWTFGWEGFWEGWEGAWGWEGWEG
16 Mar 20, 11:13 PM
gg: how can i ues it,i received no answer
12 Feb 20, 11:17 PM
akash: @Azlan i dont know how to use list with for loop you know thtat plss answer me.
12 Feb 20, 11:06 AM
Azlan: hi
12 Feb 20, 11:06 AM
Azlan: how do i do this
11 Feb 20, 02:30 PM
sam: hi, I am here
25 Jan 20, 01:42 PM
akash: any one here ,i wanna help.
25 Jan 20, 01:41 PM
akash: heyy friends
[older messages]