Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Using another function as input to a new function?

(Sep 14, 2013 12:15 PM)ßlack мesa Wrote:  Hmmm, not exactly sure as to what you mean. Try something like this:
Code
checkOne = checkName(characterName())  # Include the brackets!!

I don't think that this is it...
(pretty sure characterName would be a variable; even though PEP standards dictate that variables_should_be_underscore_seperated and functionNamesShouldBeCamelCase)

Whole code would be required to see what you have done wrong; I think it might be that the checks are being run, and return a None value, so that nothing is passed into the next function?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by FhackMar 2, 2022 03:52 AM 4 307 Mar 2, 2022 03:52 AM
Last Post: Fhack
[C] by lockheadJan 17, 2019 04:55 AM 9 334 Jan 17, 2019 04:55 AM
Last Post: you_can_never_hack_me
[Python] by Un-IdentifiedJan 30, 2014 07:52 AM 4 145 Jan 30, 2014 07:52 AM
Last Post: JoinSeventh