Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- usernames1 = ['john', 'jim', 'jane', 'jack']
- usernames2 = []
- while usernames:
- current_username = usernames1.pop()
- print(f"{current_username.title()} is logging in.")
- usernames2.append(current_username)
- print("\n")
- for user in usernames2:
- print(f"{user.title()} logged in.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement