oh haah! fancy that.gugamilare wrote:You don't need to "not" read the parenthesis. If some file contains something like this:Mercenary85 wrote:How do i go about "not" reading the parenthesis parts??
then you open that file using with-open-file and you call read directly on the file, the value returned is the list (1 2 3 4 5). You don't even need to create a loop to read the list.Code: Select all
(1 2 3 4 5)
Your Professor put the parenthesis in the file to make it simpler to read it
welp I got it working. thanks a ton to everyone. especially you gugamilare!
The Assignment was actually a type of averaging/mathmatical stuff on lists, but it was just the readin part i was confused with
