Checks whether a value exists in a dictionay [on hold]
required_keys = ['user_name', 'password', 'first_name', 'last_name',
'email', 'phone_number', 'is_admin',
'date_registered']
for key in required_keys:
if not data[key]:
return False
I get an error: KeyError: 'last_nameu200b'
please help
python-3.x
New contributor
put on hold as off-topic by Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld 2 days ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
required_keys = ['user_name', 'password', 'first_name', 'last_name',
'email', 'phone_number', 'is_admin',
'date_registered']
for key in required_keys:
if not data[key]:
return False
I get an error: KeyError: 'last_nameu200b'
please help
python-3.x
New contributor
put on hold as off-topic by Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld 2 days ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
required_keys = ['user_name', 'password', 'first_name', 'last_name',
'email', 'phone_number', 'is_admin',
'date_registered']
for key in required_keys:
if not data[key]:
return False
I get an error: KeyError: 'last_nameu200b'
please help
python-3.x
New contributor
required_keys = ['user_name', 'password', 'first_name', 'last_name',
'email', 'phone_number', 'is_admin',
'date_registered']
for key in required_keys:
if not data[key]:
return False
I get an error: KeyError: 'last_nameu200b'
please help
python-3.x
python-3.x
New contributor
New contributor
New contributor
asked 2 days ago
Lou BisonLou Bison
1
1
New contributor
New contributor
put on hold as off-topic by Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld 2 days ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld 2 days ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Hosch250, alecxe, IEatBagels, 200_success, AJNeufeld
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes