Apr-24-2019, 01:27 AM
![[Image: python-problem-1.png]](https://i.ibb.co/wMQFNVr/python-problem-1.png)
Hi. I started python today #I'm a noob
this is my code
X1=3.145
X2=X1-int(X1) # so it must be 3.145-3.000 =0.145
Y1=7.145
Y2=Y1-int(Y1) # and the results must be 0.145
# X2 and X1 must be equal ! but why they aren't ?
#question 1 : WHY?
#question 2 : what should I do ?