I'm going over some of the some of the thing I've learned over the past year as a sort of refresher and today I've been writing a script that checks a text file for a Number and if the file contains the number it outputs:
'Duplicate, this Number already in List'
And if the number isn't in the List it appends it to the List
I've been working on it all day and at first it was working fine but then I started to play around with the code and now it appends everything to the list even if it's already n the list
I've made a post on paste bin here:
https://pastebin.com/d9gcGuXs
Thanks the Duke
'Duplicate, this Number already in List'
And if the number isn't in the List it appends it to the List
I've been working on it all day and at first it was working fine but then I started to play around with the code and now it appends everything to the list even if it's already n the list
I've made a post on paste bin here:
https://pastebin.com/d9gcGuXs
Thanks the Duke



![[Image: Iu0EfTL.gif]](https://i.imgur.com/Iu0EfTL.gif)