



class  _snake_case	:




				def __init__(  self    :  Tuple,    __lowercase    :  Dict=None  ):
							lowercase__         = data
							lowercase__         = None




				def __repr__(  self    :  Optional[int]  ):
							lowercase__         = ''
							lowercase__         = self
							while temp:
										string_rep += F'''<{temp.data}> ---> '''
										lowercase__         = temp.next
							string_rep += "<END>"
							return string_rep



def __lowerCAmelCase       (   SCREAMING_SNAKE_CASE_     ):

			# if elements_list is empty
			if not elements_list:
						raise Exception("The Elements List is empty"     )

			# Set first element as Head
			lowercase__         = Node(elements_list[0]     )
			lowercase__         = head
			# Loop through elements from position 1
			for data in elements_list[1:]:
						lowercase__         = Node(SCREAMING_SNAKE_CASE__     )
						lowercase__         = current.next
			return head


lowercase_  =   [1, 3, 5, 32, 44, 12, 43]
print(F'List: {list_data}')
print("""Creating Linked List from List.""")
lowercase_  =   make_linked_list(list_data)
print("""Linked List:""")




print(linked_list)








import doctest

import projectq
from projectq.ops import H, Measure
def       UpperCamelCase__     (  SCREAMING_SNAKE_CASE__						):
 __lowerCamelCase		:							int							=						quantum_engine.allocate_qubit()
 H | qubit
 Measure | qubit
 return int(SCREAMING_SNAKE_CASE__						)


if __name__ == "__main__":
       doctest.testmod()

       # initialises a new quantum backend
       lowercase_           =	projectq.MainEngine()

       # Generate a list of 10 random numbers
       lowercase_           =	[get_random_number(quantum_engine) for _ in range(1_0)]

       # Flushes the quantum engine from memory
       quantum_engine.flush()

       print('Random numbers', random_numbers_list)

