/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> AttributeError: 'list' object has no attribute 'find' 17ms 2.992 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> AttributeError: 'list' object has no attribute 'find' 14ms 2.891 MiB

Code

list=[]
x=input("Enter your name")
a=list.find(x)
if x in list:
    print("Welcome")
elif x not in list:
    print("Sorry,not on the list")
else:
    print("Already Entered")

Information

Submit By
Type
Submission
Problem
P1227 LUCC Party Check-in
Contest
LUCC Presents Kick & Code Intra LU Programming Contest
Language
Python 3 (Python 3.12.3)
Submit At
2025-09-01 07:02:03
Judged At
2025-09-01 07:02:03
Judged By
Score
0
Total Time
17ms
Peak Memory
2.992 MiB