068108ef1130df2a0bfb8a24aedefc24394b221b,Counting-sort.py,,,#,2

Before Change


n=int(input("please give the number of elements\n"))
tlist = list()
print("okey now plase give the elemets")
for i in range(n):
  tlist.append(int(input("\n")))
k = max(tlist)
n = len(tlist)

After Change

//python program for counting sort (updated)
n=int(input("please give the number of elements\n"))
print("okey now plase enter n numbers seperated by spaces")
tlist=list(map(int,input().split()))
k = max(tlist)
n = len(tlist)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: geekcomputers/Python
Commit Name: 068108ef1130df2a0bfb8a24aedefc24394b221b
Time: 2020-10-01
Author: 69027656+preetamsahu@users.noreply.github.com
File Name: Counting-sort.py
Class Name:
Method Name:


Project Name: crista/exercises-in-programming-style
Commit Name: 3250ac1188e9fc0e38231e1b5267c5e35d7dcfd6
Time: 2019-11-19
Author: cubesolver@gmail.com
File Name: 03-arrays/tf-03.py
Class Name:
Method Name:


Project Name: sepandhaghighi/pycm
Commit Name: c562ef432e0b58479234392fd14527125ec37ed9
Time: 2020-10-04
Author: sabouri.sadra@gmail.com
File Name: pycm/pycm_util.py
Class Name:
Method Name: axes_gen