Program - conditional usecase


Topic: Program - conditional usecase

Solution

a_list = [1,2]
if a_list[0] == 1:
    print('Hello, World!')
else:
    print('Bye, World!')



List all Python Programs