Add the changes text to file (#24968)
* Add the changes text to file * add changes to this article
This commit is contained in:
committed by
Manish Giri
parent
223baa5b8e
commit
15d1acc82e
@ -18,7 +18,7 @@ x = 5
|
|||||||
if x > 4:
|
if x > 4:
|
||||||
print("The condition was true!") #this statement executes
|
print("The condition was true!") #this statement executes
|
||||||
```
|
```
|
||||||
> **Tips** : You can use **1** as alternative to **True** and **0** as an alternative to **False**
|
> **Tips** : You can use any number or string or character as alternative to **True** and only **0** and **None** as an alternative to **False**
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```python
|
```python
|
||||||
@ -138,4 +138,3 @@ while keep_playing == "True":
|
|||||||
print ("Player wins")
|
print ("Player wins")
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user