🔒 Closed Set and dictionary

Status
Not open for further replies.

FujiwaraChika

Eternal Poster
Pwede po patulong.

Pwede po makahingi ng sample code ng set and dictionary eto po sample nya na pag ggamitan
Screenshot_20200911-085811_Pydroid 3.jpg
 
di ko gets. anong code kelangan mo?

list = []
set = {} #if printed \\print(set) all values inside would be printed in random order \\ or. unordered list
dictionary = {'key': 'value'} # para naman i print ang value nito ang arg sa print ay dictionary['key'] \\ output 'value'
tuple = () #immutable list.
 
Status
Not open for further replies.

About this Thread

  • 1
    Replies
  • 315
    Views
  • 2
    Participants
Last reply from:
Curious Pepe

Online now

Members online
950
Guests online
882
Total visitors
1,832

Forum statistics

Threads
2,276,251
Posts
28,968,671
Members
1,231,183
Latest member
Highness08
Back
Top