Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help pls!
#1
uncomfirmedusers = ['bob','joe','mikey']
comfirmedusers = []

while uncomfirmedusers:
currentuser = uncomfirmedusers.pop()


print("veryfing user: " = currentuser())
comfirmedusers.append(currentuser)

print("\nThe following users have been confirmed:")
for comfirmedusers in comfirmedusers:
print(comfirmedusers.title())

everytime i compile this,this line
print("veryfing user: " = currentuser())

it says you cant use a keyword for an expression
im confussed,please help
Reply


Messages In This Thread
help pls! - by dirtdude - Sep-01-2020, 10:41 PM
RE: help pls! - by micseydel - Sep-01-2020, 10:45 PM
RE: help pls! - by deanhystad - Sep-01-2020, 11:05 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020