I have a text file which is a list of numbers and would like to pass each number in the list as input to a Mathematica function.
For example, my text might contain [2, 1, 4], and I would like to pass this into
CompleteGraph, so that it returns,
How might I do this? I come from python and think a for loop would work but I don't have any idea about how to do it in Mathematica.