+ 1

Dictionary definition issue

1. Create a dictionary that contains resume data for a user, name that dictionary: user_profile, and input the following elements: Keys Values 'name' 'Mark' 'age' 16 'skills' ['Python', 'Java'] Syntax I tried as below: user_profile = { 'Keys':'Values', 'name': 'Mark', 'age':16, 'skills':(['Python','Java'])} print(user_profile) but test scenario failed so what did I miss here?

23rd Sep 2020, 2:42 AM
Abhi
Abhi - avatar
3 Respostas
+ 5
Your code have no errors an printing correct add Question link also. #Ke alues user_profile = { 'Keys':'Values', 'name': 'Mark', 'age':16, 'skills':(['Python','Java'])} print(user_profile)
23rd Sep 2020, 2:46 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Maybe 'Keys':'Values' is unnecessary...
23rd Sep 2020, 3:01 AM
Nikolai Ivanov
Nikolai Ivanov - avatar
0
There is no issue in my symtax however issue with file placement.
23rd Sep 2020, 6:54 PM
Abhi
Abhi - avatar