• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
0

Why the output of b is False?

a=100 is 10*10 b=1000 is 100*10 print(a) print(b) #please tell me why the b is getting False instead of True! output-- True False

pythonscripting-languagesinterpreterpython3
8th Feb 2017, 11:39 AM
khushwant soni
khushwant soni - avatar
1 Resposta
+ 1
http://stackoverflow.com/questions/132988/is-there-a-difference-between-and-is-in-JUMP_LINK__&&__python__&&__JUMP_LINK
8th Feb 2017, 12:03 PM
Rossano Praderi
Rossano Praderi - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Error in python
4 Votes
Linking GitHub with Sololearn profile
2 Votes
Why Sololearn Removed Our Saved Private Project (Codes), I Can't Find This Option.
2 Votes
Model Context Protocol ? What is it ?
2 Votes
High paying job?
2 Votes
Do you Think Sololearn should add GDscript?
2 Votes
Not Accessing Message Function
0 Votes
Pls wat is the answer for dis question
0 Votes
what is wrong with my code?
0 Votes
Where have they gone
1 Votes