Page 1 of 1

Python: Finding Out Data type

Posted: Fri May 22, 2026 8:48 pm
by Jason

Code: Select all

name = str("Jo")





Re: Python: Finding Out Data type

Posted: Thu Jul 23, 2026 6:31 am
by Stoic
Aren't you going to use function type? Like putting a variable inside the function and have the type returned like so:

Code: Select all

print(type(variable_name))

Re: Python: Finding Out Data type

Posted: Thu Jul 23, 2026 1:59 pm
by Jason
Stoic wrote: Thu Jul 23, 2026 6:31 am Aren't you going to use function type? Like putting a variable inside the function and have the type returned like so:

Code: Select all

print(type(variable_name))
Yeah, that's a related idea.