求解函數?
def?abc():
????pwd=input('please?input?the?password:')
????if?pwd=='apple':
????????print?'Logging?on...'
????else:
????????print?'incorrent'
abc()請問上面的代碼哪里錯了?
def?abc():
????pwd=input('please?input?the?password:')
????if?pwd=='apple':
????????print?'Logging?on...'
????else:
????????print?'incorrent'
abc()請問上面的代碼哪里錯了?
2017-03-04
舉報
2017-03-04
def abc():
pwd=raw_input('please input the password:')
if pwd=='apple':
print 'Logging on...'
else:
print 'incorrent'
abc()