I'm relatively new to this, so if anyone could help or direct me to a useful source that would be appreciated.
I'm trying to read in a .txt file and then count the number of instances certain patterns occur, say 1.0, 2.0, 3.0, etc and then print out the number each occurred.
I tried writing some code, but it's more of a jumble of things I found online and in a book then anything that actually makes sense.
Thanks a lot!
I'm trying to read in a .txt file and then count the number of instances certain patterns occur, say 1.0, 2.0, 3.0, etc and then print out the number each occurred.
I tried writing some code, but it's more of a jumble of things I found online and in a book then anything that actually makes sense.
Thanks a lot!