No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi, i'm having trouble taking say the input of the user and converting it to the right type of format i need in order to compare them. An example is say I have the number 1234 and that is assigned to the variable x and the string value of that … | |
Hi, I am trying to generate a list of random numbers where each number in the list is a individual string. This is my code so far: [CODE]import random def make_secret(numdigits): a=[] secret = random.sample(range(0, 10), numdigits) for i in secret: a.append(str(secret)) return a[/CODE] An example of what i'm trying … |