Home > other >  Python day day up
Python day day up

Time:01-07

Want to ask the code where the wrong

CodePudding user response:

1. Some conditions of repeated,
2. 1% should be written as 0.01
Rewrite:
A=1
For I in range (365) :
S=% 11 I
If s==0:
A=a
The else:
If I % 7 in [0] :
A=a
The else:
A=a * (1 + 0.1)
Print (a)
You try to see
  • Related