#1 ''' a=int(input("Primul numar:").strip()) b=int(input("Al doilea numar:").strip()) c=int(input("Al treilea numar:").strip()) Max=0 if a > Max: Max=a if b > Max: Max=b if c > Max: Max=c print(Max) ''' #2 """ string=input("Spune o propozitie") print(string[::-1]) """ #3 ''' numbers=[12,55,64,23,46,18,53,86,99,103] even=[] for even in numbers: if even % 2 == 0: print(even) ''' #4 ''' numbers=[] a=1 b=0 while a<31: b=a**2 numbers.append(b) a=a+1 print(numbers) ''' #5 ''' numbers=[12,55,64,23,46,18,53,86,99,103] while numbers != []: print(numbers[3]) numbers.remove(numbers[3]) ''' #6 ''' c=int(input("Give a number to check").strip()) def range_number(a,b,c): if c in range(a,b): print("{} is in range!".format(c)) else: print("{} is not in range!".format(c)) range_number(1,10,c) '''