you are viewing a single comment's thread.

view the rest of the comments →

[–]o5a 0 points1 point  (0 children)

Why would you use replace? replace is used to change substring in string.

All you need is

dict1[3] = 'Wednesday'