Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrote lesson history with python keywords #311

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions _sources/lectures/TWP30/TWP30_7_en.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Python Tools
======================

+ Conditions: ``if``, ``elif``, ``else``
+ Loop: ``while``
+ Assignment operator: ``=``
+ Equality operator: ``==``
+ Inequality operator: ``!=``
+ Display a message: ``print()``
+ Read user input: ``input()``
+ Convert to integer: ``int()``
+ Generate a random integer: ``randint()``
+ Conditions: Utilized ``if``, ``elif``, and ``else`` for conditional statements.
+ Looping: Employed the ``while`` keyword for loop iterations.
+ Assignment operator: Used ``=`` for assigning values to variables.
+ Equality operator: Checked for equality using ``==``.
+ Inequality operator: Determined inequality with ``!=``.
+ Message display: Output messages with the ``print()`` function.
+ User input: Acquired user input using ``input()``.
+ Integer conversion: Converted input to integers using ``int()``.
+ Random integer generation: Produced random integers with ``randint()``.

These are some of the tools. There are many more!

Expand Down