payment_m=list(payment)*61
时间: 2024-05-14 20:13:56 浏览: 35
PFMS - Scholarship Payment Status & List-crx插件
As an AI language model, I cannot see the original context of your question, but based on the given information, it seems that you are trying to create a list of 61 elements where each element is the same as the original payment value.
In that case, you can use the multiplication operator (*) to create a list with the desired number of elements. Here's an example code snippet that shows how to do this:
```
payment = 100 # example payment value
payment_m = [payment] * 61 # create a list of 61 elements with the same payment value
print(payment_m) # output: [100, 100, 100, ..., 100] (61 elements in total)
```
In this example, the `payment` variable is set to 100 as an example payment value. Then, the `payment_m` list is created by multiplying a list with a single element (`[payment]`) by the number of desired elements (61). This creates a new list with 61 elements, where each element is the same as the original payment value.
Finally, the `print` function is used to output the `payment_m` list, which should contain 61 elements with the same payment value.
阅读全文