How to make a conditional statement

PHOTO EMBED

Mon Oct 24 2022 10:27:53 GMT+0000 (Coordinated Universal Time)

Saved by @L0uJ1rky45M #python

if *test* : # A test is an expression that is assessed to either True or False. 
	*block of code* # To be carried out if test is assessed to True
else: 
	*block of code* # To be carried out if test is assessed to False

or #Without optional block of code
if *test* :
	*block of code*  
content_copyCOPY

In Python, a conditional statement contains three parts: (1) test, (2) block of code executed if test turns out to be True and (3) another block of code to carry out if test is False.