Created
April 30, 2020 13:40
-
-
Save Raj39120/970efe0d00192bac903bff4c0f6611a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user_list = input("Enter your list of numbers here (separate each with a comma e.g. 1, 2, 3, 4, 5, 6): ") | |
y = input("Enter a number here and the program will print all of the numbers in your list less than this number: ") | |
def check(): | |
if x < y: | |
print(x), | |
for x in user_list: | |
check() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment