[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
New submission from Fady shehata : this code is completely right , and its trace is right and give the correct result but your compiler give me an incorrect result. if we input 1010 it must give 10, the compiler give ten but uncollected ten like 1122 and if we input 111 it's outp

[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
Fady shehata added the comment: you didn't understand me, look, if we put (10) in binary it will give (2) in decimal because ((0*2**0)+(1*2**1), but it gives the tow like that 11 it means if we add the digits in the result we will get the right result <https://www.avast.com/s

[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
Fady shehata added the comment: look at this if we input (1011) in binary it must give eleven in decimal but it gives uncollected eleven like 1123 if we add the digits in this result we will get the right result eleven [image: Capture2.PNG] <https://www.avast.com/sig-email?utm_medium=em

[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
Fady shehata added the comment: yea yea i understand you and you are right thank you and sorry for this miss understanding 😊 <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free