Message from Python discussions

December 2018

— The thing is that idk if the user will insert a space or a new line


You could use .find to find the space. Or write your own for loop.
To cut the string you could use slicing.

— If you write your own for loop to find the whitespace, you can check against all the needed characters

Message permanent page

— Is that true ?

— Jokes like this better be posted in pythonofftopic

— Here people help each other

— `

— ```python

— `
#!/usr/bin/env python

— #!/usr/bin/env python

— Ok bro ! 👍

— Can I ask how to add an inline keyboard button (with a pop-up message result) to this part of the code?


Message permanent page