0

True / false statement. This is with Python.

So If i do this print ("hello") == ("hello") It's a true / false statement, how would i do an if statement for thst being true? Like print ("hello") == ("hello") If true or what ever print ("bla bla bla")

14th Aug 2019, 5:35 PM
Astral
1 Resposta
+ 4
if 'hello' == 'hello': print('bla bla bla')
14th Aug 2019, 5:40 PM
HonFu
HonFu - avatar