Random number guessing
Style


The general standard for Python is to indent by four spaces, or by one tab with a width of four spaces.
You shouldn't be doing wildcard imports, (from a import *).
Your naming can be greatly improved. For example, the variable b could be renamed to maximum_guess_limit.
Use str.format to format strings instead of using commas between string literals. Here's an example:

# str.format without positional or named parameters
print("{} {}".format("Hello", "world"))

# str.format with positional parameters
print("{1} {0}".format("world", "Hello"))

# str.format with named parameters
print("{word1} {word2}".format(word1="Hello", word2="world"))





Design

The logic in this program is very confusing, and with the bad variable names, it's not any easier to understand. From looking at the code, it looks like a number-guessing game of sorts, but I don't fully understand it's logic. I'd recommend encapsulating this into a function, or even separate functions. For example, to choose a random number based on a maximum integer, I'd create a function that looks something like this:

def choose_random_value(maximum_guess_limit):
    return randint(1, maximum_guess_limit)


In the end, I ended up with a result like this:

from random import randint


class NumberGuessingGame:
    def __init__(self, maximum_guess_limit):
        self.maximum_guess_limit = maximum_guess_limit
        self.__points = 0

    def __choose_random_integer(self):
        """
        Choose a random integer between one and the
        current maximum limit.
        """
        return randint(1, self.maximum_guess_limit)

    def __obtain_user_input(self, prompt):
        """
        Obtain the user input and ensure that
        it is a valid integer.
        """
        try:
            return int(input(prompt))
        except ValueError:
            print("You must enter a valid integer.")
            return None

    def __check_user_input(self, user_input, random_integer):
        """
        Check if the user guessed correctly, otherwise,
        display "Higher." or "Lower."
        """
        if user_input is not None:
            if user_input == random_integer:
                self.maximum_guess_limit += 5
                self.__points += self.__points

            elif user_input &lt; random_integer:
                print("Higher.")

            else:
                print("Lower.")

    def play_game(self):
        while True:
            user_input = self.__obtain_user_input("Enter an integer: ")
            integer_to_guess = self.__choose_random_integer()
            self.__check_user_input(user_input, integer_to_guess)


game = NumberGuessingGame(10)
game.play_game()


It doesn't have support for exiting, but I'm sure you can implement it.