Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~786 People Reached
Favorite Forums
Favorite Tags
Member Avatar for adrain91

[CODE]import urllib.request import sys #'http://www.imdb.com/list/SuSZdwCyHzU/' def savePage(urll,filename): with urllib.request.urlopen(urll)as url: page=url.read() # print(page) sys.argv[0]=filename outfile=open(sys.argv[0],'w') for line in page: outfile.write(line) outfile.close() savePage('http://www.imdb.com/list/SuSZdwCyHzU/','outIMDB.txt')[/CODE] so here is my code .I try to write the original codes into the 'outIMDB.text' but somehow I got this bug: File "C:\Program Files (x86)\Wing IDE 101 4.0\src\debug\tserver\_sandbox.py", …

Member Avatar for richieking
0
433
Member Avatar for adrain91

1 the computer displays some secret word(in underscore):--- 2 I guess letter"c"in the word 3 yes,the screen pops up like this :c-- 4 I guess the second letter is u 5 yes , it is :cu- 6 last ,I guess the final one is p 7 yes , it is …

Member Avatar for Cireyoretihw
0
246
Member Avatar for adrain91

here is my code: [CODE]conbi = ['a1','b1','c3','c4','f7'] left_unmatched = 5 wrongtimes = 0 right = 0 guess = input('Shoot: ').split(' ') guess = list (guess) for i in range(len(guess)): if guess[i] in conbi: left_unmatched -=1 right +=1 print ('Hit:',right,'Missed: ',left_unmatched) print ('Hit:',right,'Missed: ',left_unmatched)[/CODE] when I enter a1 b1 c3 c4 …

Member Avatar for adrain91
0
107