Posts

Showing posts from September, 2025

CRISPR-Cas9 Spring Batch Application

  // This application models the CRISPR-Cas9 gene-editing process as a Spring Batch job. // The genome is treated as a list of DNA base pairs, and the editing process is a batch job // that reads, processes, and "writes" changes to that data. import org.springframework.batch.core.Job; import org.springframework.batch.core.Step; import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing; import org.springframework.batch.core.configuration.annotation.JobBuilderFactory; import org.springframework.batch.core.configuration.annotation.StepBuilderFactory; import org.springframework.batch.item.ItemProcessor; import org.springframework.batch.item.ItemReader; import org.springframework.batch.item.ItemWriter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import o...

Miracles_in_the_date_of_the_birth_of_the_Prophet

Image
 

My first program in Python

 I share with you my first program I wrote in Python import random number_to_guess = random . randint ( 1 , 10 ) # number of attempts number_of_attempt = 0 begin = False input_str = input ( "Please enter a whole number between 1 et 10: \n " ) while not begin :           while ( input_str . isdigit () == False ) :         input_str = input ( "Please enter a whole number between 1 et 10: \n " )               while int ( input_str ) not in range ( 1 , 11 ) :         input_str = input ( "Please enter a whole number between 1 et 10: \n " )             number_as_int = int ( input_str )         if number_as_int > number_to_guess :         print ( "number you give > number to guess " )         input_str = input ( "Please enter a whole number between 1 et 10: \n " )...