Characters = [c for c in name] if any(prohibitedCharacters in Characters): print("No special characters allowed.") else: print(f"Welcome, {name}")