TypeError: create1() missing 1 required positional argument: 'a'
时间: 2023-10-24 22:07:02 浏览: 68
create1
This error message indicates that the function `create1()` is expecting one argument, but it is not being provided when the function is called. To fix the error, you need to provide the missing argument when calling the function. For example:
```
def create1(a):
# function code here
# calling the function with an argument
create1(10)
```
In this example, the `create1()` function expects one argument `a`, so when calling the function, we provide the value 10 as the argument.
阅读全文