Computer Science, asked by sudhanshu6105, 10 months ago

where is the error in this code?
Print ('username=')
Username=input()
Print ('password=')
Password=input()
If Username,Password=='FLASH','walker' :
St = 'access granted'
Else:
St = 'access denied'
Print (St)

Answers

Answered by AdroitAnuragBala
2

Answer:

1) You Need To Indent

2) St is a local variable , It Can't be printed Outside Else Block

3) Python Is Case Sensitive. Just Use small letters

Similar questions