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: D2KLab/entity2rec
Commit Name: b0848e1af4b1cf9c4898d549de19e81b167043b2
Time: 2018-07-17
Author: enricopalumbo0@gmail.com
File Name: entity2rec/evaluator.py
Class Name: Evaluator
Method Name: evaluate


Project Name: weinman/cnn_lstm_ctc_ocr
Commit Name: f72e30b86039b53dcced080dc999e1a9fb052c49
Time: 2018-06-19
Author: am.lamsal@gmail.com
File Name: src/mjsynth.py
Class Name:
Method Name: threaded_input_pipeline