Content: 365 days a year, the initial value of 1.0, and an increased level of each work day N, does not work when the level is not falling, continuous work six days a week

CodePudding user response:
In Python 3, and the format of the input and output as a string, that is to say, your code inside N is a string, int (N)CodePudding user response:
If the decimal is, with the float (N)CodePudding user response:
1 + 365 * n - 365//7 + 365% 7If the first day is Monday