6 years ago

Comment has been collapsed.

My guess would be that output is overwritten every time

6 years ago
Permalink

Comment has been collapsed.

And the one character fix would be to add a + in output +=generate_random....

6 years ago
Permalink

Comment has been collapsed.

Change

output = generate_random_character(seed)

to

output += generate_random_character(seed)

That should do the trick.

6 years ago
Permalink

Comment has been collapsed.

This. You need to add the the list, if you just use a = sign it'll overwrite the value each loop.

6 years ago
Permalink

Comment has been collapsed.

+1.

6 years ago
Permalink

Comment has been collapsed.

Bump!

6 years ago
Permalink

Comment has been collapsed.

Don't know what you're trying to do exactly but using static seeds will always produce the same output. Computers are deterministic systems so the same starting conditions will always lead to the same results.
If that's not what you're trying to do, what you could do instead is generate a GUID then hash it and use it as a seed.

edit: ok guess you wanted fixed results

6 years ago*
Permalink

Comment has been collapsed.

I find it puzzling when people try to make sense of computer nerds.

6 years ago
Permalink

Comment has been collapsed.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

First thing to do when code doesn't work: set a break point and step through line by line.

6 years ago
Permalink

Comment has been collapsed.

Bump! I've seen you already got anwers, but thank you for the link to the online compiler.

6 years ago
Permalink

Comment has been collapsed.

Bump!

6 years ago
Permalink

Comment has been collapsed.

Bump.

6 years ago
Permalink

Comment has been collapsed.

Amazing how one character can screw up your wife... I mean, Life!

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 5 years ago.

6 years ago
Permalink

Comment has been collapsed.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

bump

6 years ago
Permalink

Comment has been collapsed.

Nice one :D Bump!
Unrelate image.

View attached image.
6 years ago
Permalink

Comment has been collapsed.

put on hold as off-topic by grego87 ♦ 1 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – grego87 ♦

If this question can be reworded to fit the rules in the help center, please edit the question.

6 years ago
Permalink

Comment has been collapsed.

Hello, old f-friend......

6 years ago
Permalink

Comment has been collapsed.

Closed 6 years ago by Deleted-7275911.