Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Just throw numbers or laters combined and it will separate each one of them to it own index
- user_input = list(input("Write down the list of numbers - no need for comme or [] "))
- number = user_input
- i = (len(number)) -1
- out_put_list = []
- while i >= 0:
- pop_result = number.pop(i)
- out_put_list.append(pop_result)
- i -= 1
- print(out_put_list)
Advertisement
Add Comment
Please, Sign In to add comment