Message333107
| Author | Jorge Teran |
|---|---|
| Recipients | Jorge Teran |
| Date | 2019-01-06.12:34:02 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1546778042.38.0.180444315145.issue35672@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
The following code produces an error in the diivision in python 3.5, 3.7 works in python 2.7 import math import sys x=int(1000112004278059472142857) y1=int(1000003) y2=int(1000033) y3=int(1000037) y4=int(1000039) print (int(y1y2y3y4)) print (x) #this product equals x Correct print (int(y2y3*y4)) n=int(x / y1) print (n) #n is an incorrect answer #works in pythoin 2.7 #Gives an incorrect answe in python 3.6.7, 3.7.1 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-01-06 12:34:06 | Jorge Teran | set | recipients: + Jorge Teran |
| 2019-01-06 12:34:02 | Jorge Teran | set | messageid: <1546778042.38.0.180444315145.issue35672@roundup.psfhosted.org> |
| 2019-01-06 12:34:02 | Jorge Teran | link | issue35672 messages |
| 2019-01-06 12:34:02 | Jorge Teran | create | |