CopyPastor

Detecting plagiarism made easy.

Score: 0.8076149255457059; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-07-03
by Arkadip Bhattacharya

Original Post

Original - Posted on 2012-03-19
by David Heffernan



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Somewhere else in your code you have something that looks like this:
```python range = 5 ```
or maybe ```python str = 10 ```
that is interpreted as meaning a function call on the object bound to `range` or `str`, which is an `int`. And that fails.

Somewhere else in your code you have something that looks like this:
round = 42
Then when you write
round((a/b)*0.9*c)
that is interpreted as meaning a function call on the object bound to `round`, which is an `int`. And that fails.
The problem is whatever code binds an `int` to the name `round`. Find that and remove it.

        
Present in both answers; Present only in the new answer; Present only in the old answer;