Question: I've been doing some exercises for AI course and I to get arguments to my code directly from the command line, for example `python solution.py resolution_examples/small_example.txt`. I now in java you can pass arguments to main fun via command line, but can you do the same thing in python?

Answer: 
Maybe some of your properties are already integers. Since `int.parse()` want a `String` as parameter, maybe doing:

```dart
int _convertedNum(dynamic number){
  int intNumber = int.parse(number.toString());

  return intNumber;
}

```

Can solve your issue.
That's because `parse`, as it's documentation say, takes a source which is `String` and converts it to an `int`, while what you are doing (from the error) is passing bare `int`s to `parse`, 

solution:

```
int func(dynmaic number){
    int intNumber = int.parse(number.toString());

    return intNumber;
  }

```