Loading…
None
String updated in the repository |
|
None
String updated in the repository |
|
None
String updated in the repository |
|
None
Source string changed |
|
None
Automatically translated |
|
None
String updated in the repository |
|
Things to check
Placeholders
The following format strings are extra: `{else}`, The following format strings are extra: `{if}`, The following format strings are extra: `{repeat}`
Python brace format Enforced
The following format strings are extra: {ask}, The following format strings are extra: {else}, The following format strings are extra: {if}, The following format strings are extra: {is}, The following format strings are extra: {print}, The following format strings are extra: {repeat}
Key
adventures->default->levels->8->example_codeLabels
Automatically translatedFlags
ignore-double-space, ignore-ellipsis, ignore-inconsistent, ignore-long-untranslated, ignore-same, ignore-translated, placeholders:r"`([^`\n\r]+)`|## ", python-brace-format
{repeat} 5 {times} {print} 'In the next tab you can repeat multiple lines of code at once!'
```
```
{repeat} 5 {times}
{print} 'Hello everyone'
{print} 'This is all repeated 5 times'
```
This is how the `{if}` and `{else}` command work now:
```
name = {ask} 'What is your name?'
{if} name {is} Hedy
{print} 'Welcome Hedy'
{print} 'You can play on your computer!'
{else}
{print} 'INTRUDER!'
{print} 'You cannot use this computer!'
```