<jupyter_start><jupyter_text>lf Statement<jupyter_code>a=12
b=100
if a>b:
  print("a is less than b")<jupyter_output><empty_output><jupyter_text>Elif Statement<jupyter_code>a=30
b=15
if a<b:
  print("a is less than b")
elif a>b:
  print("a is greater than b")<jupyter_output>a is greater than b<jupyter_text>Else Statement<jupyter_code>a=30
b=15
if a<b:
  print("a is less than b")
elif a>b:
  print("a is greater than b")
else:
  print("a is equal to b")<jupyter_output>a is greater than b<jupyter_text>Short Hand lf Statement<jupyter_code>a=16
b=22

if a>b: print("a is greater than b")<jupyter_output><empty_output><jupyter_text>Short Hand lf..Else Statement<jupyter_code>print("a is greater than b")if a>b else print("b is greater than a")<jupyter_output>b is greater than a<jupyter_text>And logic condition<jupyter_code>a= 200
b=33
c=500
if a>b and c>a:
  print("Both conditons are True")
else:
  print("Either of the two conditions is True")<jupyter_output>Both conditons are True<jupyter_text>Or logic condition<jupyter_code>if a<b or c>a:
  print("True")
else:
  print("False")<jupyter_output>True<jupyter_text>Nested lf<jupyter_code>x=41
if x>10:
  print("Above 10")
  if x>20:
   print("and above 20!")
   if x>30:
    print("and above 30")
   else:
     print("not above 30")
  else:
   print("not above 20")
else:
  print("below 10")<jupyter_output>Above 10
and above 20!
and above 30<jupyter_text>Example 1<jupyter_code>age=int(input("Enter your age:"))
if age>=18:
  print("You are qualified to vote")
else:
  print("You are not qualified to vote")<jupyter_output>Enter your age:19
You are qualified to vote<jupyter_text>Example 2<jupyter_code>number=float(input("Input any number:"))
if number>=1:
  print("The number is a positive number")
elif number==-1:
  print("The number is a negative number")
else:
  print("Your number is zero")<jupyter_output>Input any number:8
The number is a positive number<jupyter_text>Example 3<jupyter_code>#Write a Python program that determines if the grades are:
#grade>=75"Passed"
#grade==74"Remedial"
#grade<74"Failed"

grade =float(input("Enter your grade:"))
if grade>=75:
  print("You Passed")
elif grade>74 and grade<75:
  print("Remedial")
else:
  print("You Failed")<jupyter_output>Enter your grade:74.00001
Remedial
{'fraction_non_alphanumeric': 0.12747252747252746, 'fraction_numerical': 0.035164835164835165, 'mean_word_length': 6.365695792880259, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 52, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '11', 'dir': 'jupyter-structured-clean-dedup', 'id': '171332', 'license': 'Apache-2.0', 'n_tokens_mistral': 945, 'n_tokens_neox': 879, 'n_words': 238, 'path': 'Control_Structure.ipynb', 'repo_name': 'RustyEmmerain/CPEN-21A-ECE-2-3', 'size': '2275'}