I am reading [Python Crash Course] and doing ‘Try It Yourself’ exercises. What I am currently working on is “try and except”.
I am using sublime text 3 and after hitting “crtl + b” the console produces "input first number ". But nothing happens after type some number. what is happening?
first_number = input("input first number ") second_number = input("input second number ") try: addition = first_number + second_number except ValueError: print("please put numbers")
You must select a tag to post in this category. Please find the tag relating to the section of the course you are on E.g. loops, learn-compatibility
When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!
If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer!