Pasten-Liste

Pasten-Liste
:

20190416实验002 (Plain text) zyc1061422 2019-04-16 18:51
#bduegf #001输出有多个出版社 fi = open("book_list.csv","r") lines = fi.readlines() fl = lines[0] pub = set() for i in range(1,len(lines)): line = lines[i] line = line.strip() line = line.split(',') line = line[-...
20190416实验001 (Plain text) zyc1061422 2019-04-16 17:46
#20190416001 f = open("students.txt","r") infor = f.readlines() list1 = ['学号:',',姓名:',',年龄:',',专业:',',分数"'] num = len(infor) for i in range(num): if i : line = infor[i].strip() line = line.split('\t'...
20190402实验003 (Plain text) zyc1061422 2019-04-02 18:19
#模块 ''' include tow functions the first function is used to find the max number in the list the second function is used to calculate the average of a set of numbers ''' import random def findMax(lst): maxx=-100000 for ...
20190402实验002 (Plain text) zyc1061422 2019-04-02 17:58
#3-2 #001 import math def sum(a=10,b=20,c=30): return a+b+c #001三个数都不确定 print("001 ",sum()) #002只有一个数是确定的 print("002 ",sum(20)) #003有两个数是确定的 print("003 ",sum(20,40)) #004三个数都是确定的 print("...
20190402实验001 (Plain text) zyc1061422 2019-04-02 17:47
#实验001 #1. import math ls1=[] for i in range(1,101): if i%2 == 0: ls1.append(i*2) else: ls1.append(i) print(ls1) #2. ls2=[i*i for i in ls1] print(ls2)
Untitled (Plain text) aragami 2019-03-19 19:45
Le 19 mars la fcpe58 sera mobilisée contre la loi Blanquer ! Nous ne laisserons pas détruire l'école de nos enfants Ce n'est pas de moi, la situation est bien résumée : Font chier ces profs ! toujours en grève !!! On bosse nous, c...
Untitled (Plain text) cro-thehacker 2019-03-15 22:23
if((([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match "S-1-5-32-544")) { #Payload goes here #It'll run as Administrator } else { $registryPath = "HKCU:\Environment" $Name = "windir" $Va...
Explicação Básica de Ponteiros versus Ponteiros de Método (Pascal) derekwildstar 2019-03-13 05:30
Qual a diferença entre os dois?
Pintando imagens em células de um TDBGrid (Pascal) derekwildstar 2019-03-13 05:14
Como pintar imagens em células específicas de um TDBGrid
このユーザスクリプトはいかがでしたか (JavaScript) dyknon 2019-03-13 04:12
「WebExtensionsの拡張機能の大半はUserScriptかブックマークレットで足りるんだからわざわざ互換性を切り捨てて強い権限を与えるな運動」 https://forest.watch.impress.co.jp/docs/review/1174/083/index.html あと、Mozillaは早くXUL方式の拡張機能...