Here is what I have so far. Is there anyway, I can auto increment the list while it is being built? So instead of having all ones, I’d have 1,2,3,4….
possible = []
possible = [1] * 100
print possible
Thanks,
Noah
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Note that the end point (101 in this case) is not part of the resulting list.