🔒 Closed Python Dictionary inside Function with Rows and Columns

Status
Not open for further replies.

PHC-Zil

Forum Master
Code:
cand_stats = {'Joshua': [192, 147, 186, 114, 98],
              'Aldrin': [48, 90, 12, 21, 230],
              'Dianna': [206, 312, 121, 408, 54],
              'Donna': [37, 21, 38, 39, 201],
              'David': [195, 100, 50, 10, 145]}

def show_candidates(d):
    return d

    for i in cand_stats.values():
        print(i)
        for j in cand_stats.keys():
            print(j)
        print()
Baka pwede pa help sa code ko. Ganito Output sana...
1664953434207.png
 
Status
Not open for further replies.

About this Thread

  • 1
    Replies
  • 544
    Views
  • 2
    Participants
Last reply from:
Ambabo

Trending Topics

Online now

Members online
457
Guests online
1,433
Total visitors
1,890

Forum statistics

Threads
2,292,913
Posts
29,080,122
Members
1,209,585
Latest member
rimiru
Back
Top