+ 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?
3 Answers
+ 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)
+ 1
Maybe 'Keys':'Values' is unnecessary...
0
There is no issue in my symtax however issue with file placement.