# Input Defaults to a \_\_\_\_

So if we ask a user to enter a number - the comptuer store that value as a STRING - and we cannot do math with Strings.

So how can we tell the computer that we want the value to be an integer?

* [ ] Prompt User to Enter a Numeric Value
* [ ] Cast that value to an int
* [ ] then use that number in math

```
number = input("Enter a Number Greater than 0: ")
print(number + number)

number = int(number)
print(number = number)
```

{% embed url="<http://pythontutor.com/visualize.html#code=number%20%3D%20input%28%22Enter%20a%20Number%20Greater%20than%200%3A%20%22%29%0Aprint%28number%20%2B%20number%29%0Anumber%20%3D%20int%28number%29%0Aprint%28number%20%2B%20number%29&cumulative=false&curInstr=4&heapPrimitives=nevernest&mode=display&origin=opt-frontend.js&py=3&rawInputLstJSON=%5B%223%22%5D&textReferences=false>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://computational-thinking-in-room11.gitbook.io/room112-textbasedprogrammimg/unit-1/collecting-data-from-the-user/input-defaults-to-a-____.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
