Light Mode
Dark Mode
YAML. Simple Dict - I think there is in error

Hi,

when you start the task, it says the following in line 14:

    assert yaml("""name: Alex
age: 12

class: 12b""") == {'age': 12,
 'class': '12b',
 'name': 'Alex Fox'}

I think it should be either

    assert yaml("""name: Alex Fox
age: 12

class: 12b""") == {'age': 12,
 'class': '12b',
 'name': 'Alex Fox'}

or

    assert yaml("""name: Alex
age: 12

class: 12b""") == {'age': 12,
 'class': '12b',
 'name': 'Alex'}
Created: Aug. 6, 2019, 11:28 a.m.
Updated: Aug. 6, 2019, 4:25 p.m.
1
12
User avatar
alne