diff --git a/Print_List_of_Even_Numbers.py b/Print_List_of_Even_Numbers.py index 3e1c3369577..5c34ce48c4a 100644 --- a/Print_List_of_Even_Numbers.py +++ b/Print_List_of_Even_Numbers.py @@ -1,2 +1,4 @@ -print [x for x in range(2, 100) if not x % 2] -print range(2, 100, 2) +#user can give in put now +#pyhton3 + +print ([x for x in range(int(input()),int(input())) if not x%2])