Python Forum
How do you replace a dictionary key with a new input?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you replace a dictionary key with a new input?
#5
Real life scenario: what should happen if user updates name to what is already existing?
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
RE: How do you replace a dictionary key with a new input? - by perfringo - Aug-23-2020, 03:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  User input & Dictionary tfernandes 5 3,742 Apr-03-2020, 07:12 PM
Last Post: tfernandes
  Get a value from a dictionary through input Anony 3 2,348 Jan-26-2020, 06:18 PM
Last Post: buran
  Problem using input in Dictionary.. Help roseojha 1 1,813 Aug-25-2019, 08:51 AM
Last Post: ThomasL
  Search & Replace - Newlines Added After Replace dj99 3 3,456 Jul-22-2018, 01:42 PM
Last Post: buran
  QC input value against dictionary in while loop dadgums 2 2,965 Apr-23-2018, 11:38 PM
Last Post: dadgums
  User Input to Choose from Dictionary anelliaf 9 25,981 Mar-27-2018, 02:22 PM
Last Post: anelliaf

Forum Jump:

User Panel Messages

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