<jupyter_start><jupyter_text>![title](images/if_logo.png)  Умова if в пайтон* https://www.w3schools.com/python/python_conditions.asp* Як виглядає синтаксис?```if умова:    код```* Логічні вирази-   Equals: a == b-   Not Equals: a != b-   Less than: a < b-   Less than or equal to: a <= b-   Greater than: a > b-   Greater than or equal to: a >= bПриклад<jupyter_code>a = 33
b = 200
if b > a:
  print("b is greater than a")
a = 33
b = 33
if b > a:
  print("b is greater than a")
elif a == b:
  print("a and b are equal")
a = 200
b = 33
if b > a:
  print("b is greater than a")
elif a == b:
  print("a and b are equal")
else:
  print("a is greater than b")<jupyter_output>a is greater than b<jupyter_text>And<jupyter_code>a = 200
b = 33
c = 500
if a > b and c > a:
  print("Both conditions are True")<jupyter_output>Both conditions are True<jupyter_text>Or<jupyter_code>a = 200
b = 33
c = 500
if a > b or a > c:
  print("At least one of the conditions is True")<jupyter_output>At least one of the conditions is True<jupyter_text>If в середині if ?<jupyter_code>x = 15

if x > 10:
  print("Above ten,")
  if x > 20:
    print("and also above 20!")
  else:
    print("but not above 20.")<jupyter_output>Above ten,
but not above 20.
{'fraction_non_alphanumeric': 0.13121434392828035, 'fraction_numerical': 0.03504482477587612, 'mean_word_length': 3.582089552238806, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 24, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '469111', 'license': 'MIT', 'n_tokens_mistral': 544, 'n_tokens_neox': 507, 'n_words': 174, 'path': 'Python introduction/if_guide.ipynb', 'repo_name': 'YuriiKoteyka/Machine-Learning', 'size': '1227'}