Zachary Ware writes:
> I've noticed you sending a lot of questions in the past day or two,
> many at a fairly basic level. I think you would be well-served to
> read through the tutorial at https://docs.python.org/3/tutorial.
Better than merely reading through it: Anyone who wants to learn Pyth
Hi,
On Sat, Nov 14, 2015 at 8:23 PM, fl wrote:
> Hi,
>
> When I read the below code, I cannot make the last line (with ##) out.
>
>
>
> def res(weights):
> n = len(weights)
> indices = []
> C = [0.] + [sum(weights[:i+1]) for i in range(n)]
> u0, j = random(), 0 ##
>
>
> If I run
Hi,
When I read the below code, I cannot make the last line (with ##) out.
def res(weights):
n = len(weights)
indices = []
C = [0.] + [sum(weights[:i+1]) for i in range(n)]
u0, j = random(), 0 ##
If I run below code on console, it will say an error.
uu, 0.1, 0
What differe