diff --git a/Condition expressions/Single-line if-else statement/task.md b/Condition expressions/Single-line if-else statement/task.md index 944a40b..f010ac6 100644 --- a/Condition expressions/Single-line if-else statement/task.md +++ b/Condition expressions/Single-line if-else statement/task.md @@ -1,6 +1,9 @@ -## Single-line if-else statement +As you saw in the previous tasks, a simple `if-else` statement can in fact be written as a single line. -As you saw in the previous tasks, a simple `if-else` statement can in fact be written as a single line. Rewrite the statement in the code editor so that it -fits in one line but the results of its execution remain exactly the same. +### Task +Rewrite the statement in the code editor so that it +fits in one line but the results of its execution remain exactly the same: +- If `my_random_number` is greater than 50, the program should print the value of `my_random_number`. +- Otherwise, it should print the message `"Too small!"`. For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5932#simple-if-else?utm_source=jba&utm_medium=jba_courses_links). \ No newline at end of file diff --git a/README.md b/README.md index 1587241..c73c059 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Introduction to Python course (JetBrains Academy version) [](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) -<p>This is an introductory Python course by JetBrains Academy. - The target audience are the people with little or no experience in programming who - would like to start learning Python.</p> + <p>This is an introductory Python course by JetBrains Academy. Python is a leading language for data analysis, AI, ML, automation, and more. The course is designed for individuals with little to no programming experience who want to start learning Python.</p> + <p>In this course, you will learn about the basics, such as variables and operations with them, strings and other data structures, boolean operators, conditions, control diff --git a/course-info.yaml b/course-info.yaml index 261c34a..c9fdb8c 100644 --- a/course-info.yaml +++ b/course-info.yaml @@ -2,7 +2,7 @@ type: marketplace title: Introduction to Python language: English summary: |- - <p>This is an introductory Python course by JetBrains Academy. The presented materials are based on the official <a href="https://docs.python.org/3/">Python Documentation</a>. The target audience are the people with little or no experience in programming who would like to start learning Python.</p> + <p>This is an introductory Python course by JetBrains Academy. Python is a leading language for data analysis, AI, ML, automation, and more. The presented materials are based on the official <a href="https://docs.python.org/3/">Python Documentation</a>. It is designed for individuals with little to no programming experience who want to start learning Python.</p> <p>In this course, you will learn about the basics, such as variables and operations with them, strings and other data structures, boolean operators, conditions, control flow, and so on. You will try implementing loops, functions, and classes, as well as using parts of your code as imported modules, and working with text files.</p> <p>Have fun and good luck!</p> <p>P.S. Want to contribute? Feel free to send a pull request to this course’s <a href="https://github.com/jetbrains-academy/introduction_to_python">git repo</a>.</p> diff --git a/course-remote-info.yaml b/course-remote-info.yaml index a2247d6..34ea659 100644 --- a/course-remote-info.yaml +++ b/course-remote-info.yaml @@ -1,4 +1,4 @@ id: 16630 update_date: "Mon, 25 Oct 2021 07:56:01 UTC" -course_version: 28 +course_version: 29 generated_edu_id: Introduction to Python_JetBrains_Python