#3 a = int(input('please put a number here : ')) if a <= 100 and a >= 1 : if a%2 == 0 : print('its valid') else : print('its not valid') else : print('its not valid') #------------------------------------------- #4 a = int(input('please enter the amounts of stars * :')) x=0 if(a >= 0): for x in range (1 , 1+a): print('*') else: print('not valid') #------------------------------------------ #5 a = int(input('please enter the ammount of students ')) if a >= 1 : f=list() for x in range (0 , 0+a) : f.append(input('please enter name ')) f.sort() print(f) else : print('not valid') #------------------------------------------------- #7 x = int(input('enter the number')) if x<0: print("not valid") elif x==0: fi= 0 elif x==1: fi= 1 else: fi = fi(x-1)+fi(x-2) print(Fi)