# File: followers.py # Author: Prof. Neary # Date: 9/18/2018 # Section: N/A # E-mail: michael.neary@umbc.edu # Description: # This filw is a simple guessing game with Prof. NEary's Twitter # followers. It lets you know if the user was too high, too low, # or if they got the follolwers correct. def main(): # 1. create followerCount variable set it to 380 followerCount = 380 # 2. get the user's guess for the numFollowers numFollowers = int(input("Enter the number guess: ")) # 3. is numFollowers too big? # a. if it is, then display too high! if numFollowers > followerCount: print("Too high!") # 4. is numFollowers too low? # b. if it is, then display too low! elif numFollowers < followerCount: print("Too low!") # 5. otherwise, they got it right! else: print("Correct") main()