Created
May 4, 2020 19:19
-
-
Save Raj39120/39345026ec42680b794a721b58f4c3f6 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_input = input("Enter a list of numbers from least to greatest over here: ") | |
user_input_2 = input("Enter the number you want to check to see if it's in the above list over here: ") | |
if user_input_2 in user_input: | |
print("This number is in the list you entered.") | |
if user_input_2 not in user_input: | |
print("This number is not in the list you entered.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment