Etc/Python

008 괄호의 개념

junmoyo 2021. 1. 15. 22:07

환경 : 

visual studio 2019

 

Source code : _008.ph

print('Hello python')listValue=['1','2','3']

if '2' in listValue:
    print('2가 list안에 존재함')
    print(listValue)
else:
    print('2가 list에 존재하지 않음')

Result