Changes

Jump to navigation Jump to search
Line 404: Line 404:     
[[File:Keyboard.png|400px]] Q: How do I cast keyboard input to a string? Looking at the source your are using ord() to fetch the input... is there a way to convert that back to string before showing it? ANS: Use chr(). See the example in the illustration.
 
[[File:Keyboard.png|400px]] Q: How do I cast keyboard input to a string? Looking at the source your are using ord() to fetch the input... is there a way to convert that back to string before showing it? ANS: Use chr(). See the example in the illustration.
 +
 +
[[File:Explicit_approach.png|400px]]
 +
 +
[[File:Approximation_approach.png|400px]]

Navigation menu