from __future__ import annotations

import math




def       lowerCAmelCase_     (		lowercase:							int		)    ->				bool:







 '''simple docstring'''

 if 1 < number < 4:
  # 2 and 3 are primes
  return True
 elif number < 2 or number % 2 == 0 or number % 3 == 0:
  # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
  return False

 # All primes number are in format of 6k +/- 1
 for i in range(5  ,					int(math.sqrt(lowercase		) + 1		)  ,					6		):
  if number % i == 0 or number % (i + 2) == 0:
   return False
 return True




def       lowerCAmelCase_     (		lowercase:							int		)    ->				list[int]:







 '''simple docstring'''
 _UpperCamelCase:     Optional[Any]							= str(lowercase		)
 _UpperCamelCase:     Tuple							= [n]
 for i in range(1  ,					len(lowercase		)		):
  list_nums.append(int(str_num[i:]		)		)
  list_nums.append(int(str_num[:-i]		)		)
 return list_nums




def       lowerCAmelCase_     (		lowercase:							int		)    ->				bool:







 '''simple docstring'''
 if len(str(lowercase		)		) > 3:
  if not is_prime(int(str(lowercase		)[-3:]		)		) or not is_prime(int(str(lowercase		)[:3]		)		):
   return False
 return True




def       lowerCAmelCase_     (		lowercase:							int = 11		)    ->				list[int]:







 '''simple docstring'''
 _UpperCamelCase:     list[int]							= []
 _UpperCamelCase:     Union[str, Any]							= 13
 while len(lowercase		) != count:
  if validate(lowercase		):
   _UpperCamelCase:     Union[str, Any]							= list_truncated_nums(lowercase		)
   if all(is_prime(lowercase		) for i in list_nums		):
    list_truncated_primes.append(lowercase		)
  num += 2
 return list_truncated_primes




def       lowerCAmelCase_     (		)    ->				int:







 '''simple docstring'''
 return sum(compute_truncated_primes(11		)		)


if __name__ == "__main__":
  print(f"""{sum(compute_truncated_primes(1_1)) = }""")
from __future__ import annotations

UpperCAmelCase_			    =							1.6_0_2_1E-1_9  # units = C




def       lowerCAmelCase_     (		lowercase:							float  ,					lowercase:							float  ,					lowercase:							float  ,					)    ->				tuple[str, float]:







 '''simple docstring'''
 if (conductivity, electron_conc, mobility).count(0		) != 1:
  raise ValueError('''You cannot supply more or less than 2 values'''		)
 elif conductivity < 0:
  raise ValueError('''Conductivity cannot be negative'''		)
 elif electron_conc < 0:
  raise ValueError('''Electron concentration cannot be negative'''		)
 elif mobility < 0:
  raise ValueError('''mobility cannot be negative'''		)
 elif conductivity == 0:
  return (
      "conductivity",
      mobility * electron_conc * ELECTRON_CHARGE,
  )
 elif electron_conc == 0:
  return (
      "electron_conc",
      conductivity / (mobility * ELECTRON_CHARGE),
  )
 else:
  return (
      "mobility",
      conductivity / (electron_conc * ELECTRON_CHARGE),
  )


if __name__ == "__main__":
  import doctest

  doctest.testmod()