Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: What this code will output and why?
Post: RE: What this code will output and why?

Thank you for detailed answer. I will experiment with this python feature.
Valgard Homework 4 3,896 Aug-30-2017, 01:41 PM
    Thread: What this code will output and why?
Post: What this code will output and why?

Today I meet this exercise: What this code will output and why? x = [[]]*3 x[0].append('a') x[1].append('b') x[2].append('c') x[0]=['d'] print(x) I expected to see 'd b c', but whet i run this p...
Valgard Homework 4 3,896 Aug-30-2017, 02:49 AM

User Panel Messages

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