I'm tasked with doing this assignment in class, (I'm making code that checks if a password a user puts in follows guidelines).
A portion of this requires me to check if for example A is in B, but I'm having trouble. Here's a portion of the code, how would I check if an uppercase letter is in the password inputted? Sorry, I'm new to python and I'm trying to learn new concepts!
I looked online but what people are saying to put is a bit to complicated for me (as of now).
def valid_password(pw):
up = 'ABCDEFGHIJKLMNOPQRSTUVWXWY'
if pw in up
return True