Python
''' 조건문 예제 egoing 2015 ''' # user input password input = 33 real_egoing = 11 #real_k8805 = "ab" if real_egoing == input: print("Hello!, egoing") #elif real_k8805 == input: # print("Hello!, k8805") else: print("Who are you?")
Ruby
# 조건문 예제 # egoing # 2015 input = 33 real_egoing = 11 #real_k8805 = "ab" if real_egoing == input puts("Hello!, egoing") #elsif real_k8805 == input # puts("Hello!, k8805") else puts("Who are you?") end