Hello,
I'm starting with Python and I'm trying to work with "import" but I'm having a
problem.
I have the file c.py (that works when executed) with a function performing a
multiplication:
def mult(a,x): resul=a*xreturn(resul)print 'test
print'ent1=2ent3=3dedo=mult(ent1,ent3)print 'resu
Hello,
I want to read the below matrix, identify when the characters in front of "want
= " are equal to "1" and then save in an array and in an output file the
characters above. But I don't know how to identify the second line and store in
a variable:
alpha=0 beta=2 gamma=50
want = 0
alpha=0