channel_total_list = []
get_channel_entry = int(raw_input('How many channels do you want to delete? '))
if get_channel_entry > 0:
while True:
user_channel_number = int(re.sub('\D', '', raw_input("Enter a channel number, (3d): "))[:3]);
channel_total_list.append(user_channel_number)
get_channel_entry = get_channel_entry - 1
print channel_total_list
ユーザー入力からチャンネル番号を取得しようとしています。 2回目に同じ番号を入力すると、別の番号を入力するように求めます。ユーザーに別の数字を入力させる
どうすれば実現できますか?