Message from Python discussions

December 2018

— A lot of people will be willing to help you
But they would need to look at the code...

— 

It looks like it's the official documentation:
https://www.statsmodels.org/stable/iolib.html#module-statsmodels.iolib
maybe it can help you

— The right version below:
a=raw_input("please give you number.")
b=float(a)
c=int(b)
d=c+int((b-c)*2)
print d

Message permanent page

— Wrong version below

a=raw_input("please give you number.")
b=float(a)
c=int(a)
d=c+int((b-c)*2)
print d

Message permanent page

— Why raw input? use python3 please

— Thank you

— Don't use Python2

— I just do not know why i am wrong.

— Sorry.i am a beginner with only py2 book at hand.

— What's wrong? looks like it works... have you checked the line 3? in first example you did:
c = int(b)
in second example
c = int(a)
maybe is that the «error»?

Message permanent page

— You can get loads of material online to learn from

— Yes.i think so too.but why?where is the logic error here,i am confuses.