mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
740 B
740 B
id, title, challengeType, dashedName
| id | title | challengeType | dashedName |
|---|---|---|---|
| 5daa813381b9e3db6c126b43 | Step 1 | 20 | step-1 |
--description--
PYTHON
Set the hello variable to "world". Then print the value.
--hints--
The source code should include one = 2
assert(code.match(/one\s*=\s*2/))
The hello variable should equal "world".
({ test: () => assert.equal(__userGlobals.get("hello"), "world") })
The one variable should be an integer.
({ test: () => {
assert(runPython(`_Node(_code).find_variable("one").is_integer()`))
}})
--seed--
--seed-contents--
--fcc-editable-region--
one = 1
hello = "goodbye"
print(hello)
--fcc-editable-region--
--solutions--
one = 2
hello = "world"
print(hello)