str_input = input("Any thing")
if bool(str_input):
    print('Any thing')
else:
    print('''Any thing ''')
Because I am a beginner in Python I don't know how to take an input from the user as a bool. I tried to convert the str to bool but it didn't work.
 
     
    