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.
The data you're passing is of type integer. You can try to check the data type like this:

```
if(number is int){ 

}

```