ProgrammingProjectList icon indicating copy to clipboard operation
ProgrammingProjectList copied to clipboard

程序员练手小项目

Results 16 ProgrammingProjectList issues
Sort by recently updated
recently updated
newest added
trafficstars

后续还有项目代码更新么⊙∀⊙?

``` #include #include using namespace std; int main() { string str(""); string newStr(""); cout > str; for (int i = (str.length() - 1); i >= 0; i--) { newStr +=...

希望可以给每个练手项目配上开源代码

`import sys,tkFileDialog,os from Tkinter import* class Note(): def __init__(self): self.fname=None; #GUI document addr self.tk=Tk() self.createUI() self.tk.mainloop() def createUI(self): menubar=Menu(self.tk) fmenu=Menu(menubar,tearoff=0) fmenu.add_command(label='Open',command=self.open) #bind menu and function fmenu.add_command(label='Save',command=self.save) fmenu.add_command(label='Exit',command=exit) menubar.add_cascade(label="File",menu=fmenu) self.tk.config(menu=menubar) self.text=Text()...

`#!/usr/bin/env python #encoding=utf-8 import re import string print 'kill game by input end' f=open("python_string_test.txt"); #count file result=0; identify=string.maketrans('','') delEstr = string.punctuation + string.digits; #remove pounction and digit for line in...

print 'kill game by input end' while 1: s=input("input string:") if s== 'end': break; s1=''; index=0; l=len(s); while index

`` print 'kill game by input end' refdoc=['a','e','i','o','u']; while 1: numbera=0; numbere=0; numberi=0; numbero=0; numberu=0; s=input("input string:"); if s=='end': print 'end game'; break; for i in s: if i in...

print 'kill game by input end' refdoc=['a','e','i','o','u']; while 1: s=input("input string:"); if s=='end': print 'end game'; break; if s[0] not in refdoc: s1=s[1:]+'-'+s[0]+"ay"; print s1;