[SOLVED] I want to add a number of variables depending on user input...
So, I've decided to create a questionnaire program to practically test my current knowledge on Boolean algebra. Doing little projects is probably going to help me solidify my knowledge the best. Here's the sibling part of the questionnaire - #Siblings questions siblings = input("How many siblings do you have? ") print('\n') siblings = int(siblings) sib_count = list(range(siblings)) while siblings > 0: sib_name = input("What is your sibling's name? ") siblings = siblings - 1 print (sib_name) print('\n') This works just fine, but I want to be able to have each answer to sib_name be its own variable, and I'm not quite sure how to do it. So, if I input that I have 3 siblings, I want to create sib_name1, sib_name2, sib_name3 so that I can have those variables stored for later output. I've made it through the first two sections, "Basic Concepts" and "Control Structures". In looking over through my notes and back through the lessons, I cannot figure out how to accomplish my goal. I'm figuring I have to integrate a list in order to do what I want, thus the sib_count variable I've created, but I cannot figure how to integrate it to do what I want. It may be that it hasn't been covered yet, and that I just need to have more patience to be able to do more. But in the case that I'm just not connecting the dots, I thought I'd ask here. Thanks in advance for anyone that gives their time to helping me solve this (probably rather simple) problem.