Search found 55 matches

by Masti6
Mon Mar 07, 2011 8:41 am
Forum: Challenges
Topic: Please help me to solve 'One Minute Man' challenge
Replies: 20
Views: 34416

Masti6 You will probably need to leave your computer running for at most a day but probably less than 12 hours. The correct minute depends on your location (for me it was during the night but i am probably on the other side of the world :-P) In addition, many real world scenarios require this kind ...
by Masti6
Sun Mar 06, 2011 4:49 pm
Forum: Challenges
Topic: A Piece of Pi challenge
Replies: 10
Views: 14061

Bumping this topic as I'm visiting this site once again for a long time. I'm using Python to count the Pi to as far as my processor can take it, but still no luck. Even if I could find the string in the Pi I don't know how to determine the spot it's at in the Pi. If anyone could send me a PM with an...
by Masti6
Sun Mar 06, 2011 4:43 pm
Forum: Challenges
Topic: Didactic Vampire Text
Replies: 23
Views: 31645

The text in the challenge doesn't make any sense anyways, so it's all kind of out of place for me. I don't know how any programming could work, and as I'm told I don't need to program anything I won't. Reading all that for more than 4 times with it still not making any sense is frustrating... Do I h...
by Masti6
Sun Mar 06, 2011 4:29 pm
Forum: Challenges
Topic: Please help me to solve 'One Minute Man' challenge
Replies: 20
Views: 34416

Now that I've studied Python, could someone tell me as much as how to make it repeat the html-downloading script every 30 seconds for .. 24h? I can't keep my computer on during midnight, this question is only waste of electricity imho. Anyways, please tell me a way. Googling didn't do any good. I w...
by Masti6
Sun Mar 06, 2011 4:23 pm
Forum: Challenges
Topic: "Basic" Challenge help
Replies: 16
Views: 24321

Base 7 is a different way to "write" integers. For example: base 2 (or binary) is 01010001100 and so on.. it means, that you can write 2 different chars to write your number. in base 3 you can use 0, 1 and 2, in base 4 you can use 0, 1, 2 and 3. So we use base 10 (0 till 9 are 10 differen...
by Masti6
Sun May 23, 2010 1:17 pm
Forum: Challenges
Topic: valuation
Replies: 15
Views: 22647

I know that I'm supposed to learn along the way while solving the Challenges, but if I have no idea what or how to study, I must ask for help. So far the community has been friendly and helpful, which I am glad for. But something like "Lol you're doing it wrong" ain't getting no one anywhe...
by Masti6
Tue May 18, 2010 11:52 am
Forum: Challenges
Topic: Confused on what a challenge is asking?
Replies: 48
Views: 86599

I'm using Python 3.1, but I think the way you are using remove is wrong. I suggest you take a look into the documentation for the correct use of remove. And why do you use an if-statement at the end? to print out the total only when the counter is the same as lengTH (omglol typo on teh code) of the...
by Masti6
Tue May 18, 2010 10:20 am
Forum: Challenges
Topic: Confused on what a challenge is asking?
Replies: 48
Views: 86599

Feeling desperate about the Valuation Challenge

Hi everyone. I've been trying to debug the following *Python26* code for the challenge Valuation for about 2 days now, without succession: main = [1,2,3,'x','x',4,5,6] counter = 0 lenght = len(main) total = 0 while counter < lenght: if main[counter] == "'x'": main.remove(counter) counter =...
by Masti6
Mon May 17, 2010 6:54 pm
Forum: Challenges
Topic: valuation
Replies: 15
Views: 22647

I remember getting no manual with the installation. And simply asking from someone who knows saves the trouble of searching for it with invalid keywords for many hours. (Which I've already done.) Second of all, as I don't know where else to ask/search, I'll seek assistance to various problems in the...
by Masti6
Mon May 17, 2010 5:19 pm
Forum: Challenges
Topic: 'Bit Test' challenge... the strange coding.. please help me.
Replies: 48
Views: 62194

Thanks lazor, that was the kind of answer I was expecting. Something that made sense xD I've got a certain pattern of True and False from numbers all the way to 100. I've listed all True numbers, and now I've just got to figure what the list of numbers means... Right? If so, thanks for help! As for ...
by Masti6
Mon May 17, 2010 5:13 pm
Forum: Challenges
Topic: valuation
Replies: 15
Views: 22647

I already posted my full code to another forum, but I'll post a simplified and shorter one here: #Valuation test #1 #x = '' main = [1,2,3,'x','x',4,5,6] counter = 0 lenght = len(main) total = 0 while counter < lenght: if main[counter] == "'x'": main.remove(counter) counter = counter - 2 el...
by Masti6
Mon May 17, 2010 4:43 pm
Forum: Challenges
Topic: 'Valuation' in Python error
Replies: 5
Views: 9901

I tried to modify spike21333's code with following results: #The list: main = [9,3,7,5,2,'x','x','x',7,4,6,'x',2,7,'x',1,7,5,4,'x','x',9,0,'x',9,3,'x','x','x','x','x',\ 2,3,8,'x',4,4,'x',7,5,'x','x',0,8,7,5,0,9,1,2,7,3,8,'x',8,4,6,1,'x',8,7,5,9,\ 3,8,3,'x','x',3,2,8,'x',4,'x',4,9,3,5,9,0,3,'x',6,'x...
by Masti6
Mon May 17, 2010 3:36 pm
Forum: Challenges
Topic: 'Bit Test' challenge... the strange coding.. please help me.
Replies: 48
Views: 62194

it's certainly not an age counter, also the example of if age < 18 print "Sorry, too young" if age > 18 print "You're old enough. Enjoy!" doesn't do the job as if your 18 it prints nothing, anyway the python equivalent of the C function bool testIt(int x) { return (x & (x − ...
by Masti6
Mon May 17, 2010 3:20 pm
Forum: Challenges
Topic: 'Say It' [Misc]
Replies: 26
Views: 42901

This is one of the most frustrating challenges yet.
Any speech-to-text(other than youtube?) out there that you could share?
by Masti6
Mon May 17, 2010 2:43 pm
Forum: Challenges Solved
Topic: Didactic Byte
Replies: 21
Views: 7055

TechnoDemon wrote:
shaemal91 wrote:lol.. forgot the '10'

A=11..

hahaha..
A = 10
...
F = 15
while
10 = 16
so
20 = 32

Thanks to the mervin who invented the hex calculations...
so A = 10
while 10 = 16
so is 1 = 1.6? xD