Avatar of Source

Status

User has no status, yet

Bio

User has no bio, yet

Most Recent Posts

<Snipped quote by Source>
Hekrom:
I'll keep looking.


I'm so worried...
<Snipped quote by Source>

Hekrom: *looks concerned*

Im... not finding anything..


*Looks down*
<Snipped quote by Source>

Hekrom: nothing, yet.


Okay... I'll keep looking.
<Snipped quote by Source>

Hekrom: on it.

*checks the nearest terminal*


Any luck?
<Snipped quote by Source>
Hekrom:
*looks around the main area but on the opposite side of you*


Um... I don't see any jewlry or anything, but those screens have to be connected to something, right?
<Snipped quote by Source>

Anything that could be of use to note if shes been herd recently. A hair clip, earring, stuff like that. In my case, im also looking for a terminal or data device of some sort.


Oh... okay.
*Looks around the area*
<Snipped quote by Source>

Explain without just giving the code how to make a program that determines whether a number is an integer or not.


If the input is guaranteed to be a number (i.e. no strings)?

Check and see if the variable modulus 1 is equal to zero. Because all ints are multiples of 1, it will only evaluate as True for those values. Caveat: values such as 20.0 will be accepted because they're mathematical integers, even if their data type is float.

If you want the data type to match as well, you could use the isinstance function to check.
David you worked with python at any point?


I write a lot of Python code.
<Snipped quote by Source>
Hekrom:
*starts looking afound for clues*


Um... what are we looking for..?
<Snipped quote by Source>

Hekrom: *a portal opens behind me to an area that Abel had the codex meet at before*

Let's start here. This is where I last saw her.


*Goes through*
© 2007-2024
BBCode Cheatsheet