Loading…
None
String updated in the repository |
|
None
Source string changed |
|
None
String updated in the repository |
|
None
Source string changed |
|
None
String updated in the repository |
|
None
String updated in the repository |
|
None
Source string changed |
|
None
String updated in the repository |
|
None
String updated in the repository |
|
Mark-Giesen
Source string changed |
|
Things to check
Placeholders
The following format strings are extra: `5 * 5`, The following format strings are extra: `5 + 5`, The following format strings are extra: `5 - 5`, The following format strings are extra: `=`, The following format strings are extra: `{is}`, The following format strings are extra: `{print}`
Key
adventures->default->levels->6->story_textFlags
ignore-double-space, ignore-ellipsis, ignore-inconsistent, ignore-long-untranslated, ignore-same, ignore-translated, placeholders:r"`([^`\n\r]+)`|## ", python-brace-format
What you can't yet do though, is calculate the price for everyone's dinner.
This level makes it possible to use addition, subtraction and multiplication in your programs. This way you can calculate the prices in your restaurant, but you could also add a secret code to give your friends and family a discount.
Another option in this level is programming your own maths game, for your little brother or sister to practice their multiplications.
Go see for yourself!
लेकिन स्तर 6 में आप कुछ नया सीखते हैं: अब आप गणना भी कर सकते हैं।
जोड़ आसान है, आप इसे गणित के जैसे लिखते हैं: उदाहरण के लिए `5 + 5`। घटाव भी ठीक काम करता है, यह `5 - 5` है।
{times} थोड़ा अलग है, क्योंकि आपके कीबोर्ड पर कोई {times} चिन्ह नहीं है। बस खोजें, वास्तव में ऐसा नहीं है!
इसलिए हम 8 के ऊपर के तारक से गुणा करते हैं: `5 * 5` । इसे "5 गुना 5" के रूप में पढ़ें जो आपको इसे सबसे अच्छी तरह याद रखने में मदद करता है।
हम भंडारण में भी बदलाव करते हैं! जब हम कोई नाम या नंबर इस तरह से स्टोर करते हैं, तो अब आप `{is}` के बदले `=` का उपयोग कर सकते हैं: