Pour le point d'intersection, on réécrit l'équation sous la forme: Y=m(x-2)-x qui doit être vérifiée quel que soit m Ce qui impose que: x=2 et donc y=-2.
@mamadydiakite92854 жыл бұрын
hello can you help me to solve those exercices 1-Write a program that gets five digit number from a user and seperate this numbers into its individual digits and then print those digits. (Hint:use combination of integer division and the mod operation). For example if user enter 23461 then your program should print 2 3 4 6 1 2-Let a computer generate a random number between 1 and 100, but do not show this number to the user. Then, let user to try to guess this number. If the number that user entered is greater or lesser than this random number give an appropriate message and let user to enter another number. This process should continue until a user guess it right. Congragul ate the user and print the number of tries. In order to generate random integer in python do the following; add the following into the beginning of your python file: import randomin your code use following function to get a random integer between 1 and 100: random.randint(1,100) 3-Let a user to enter as many number as he/she wants. User should enter -1 if does not want to enter numbers any more. Find the minimum of those numbers.