8 Réponses
+ 5
That 2 is an integer. But if you write:
if x == 2:
...
Then x==2 returns either True or False, which are type Boolean.
+ 1
integer
+ 1
When comparing "2" to something before, what would it be called?
0
i think its integer, btw the indentation is about 2 spaces
0
@Florin indentation in python is always 4 spaces unless you are making a visual indentation
0
i think so
- 1
ber bhs indo aja gays
- 1
soalnya saya gk bisa bhs ing