gpt3-python-doc-qa
                                
                                 gpt3-python-doc-qa copied to clipboard
                                
                                    gpt3-python-doc-qa copied to clipboard
                            
                            
                            
                        COMP1021 Any question about python? I read all python doc and will give you answer!
How to split a string?
[GPT3]
@hunkim How to split a string?
Use the split() method of a string.
How many arguments do we need for rstrip()?
@hunkim How many arguments do we need for rstrip()?
How to save a file?
@hunkim How to save a file?
Save the file.
What is the method to save a file?
@hunkim What is the method to save a file?
Save the current window with a Save As dialog.
What does import do?
@hunkim What does import do?
It imports a module.
How to import a module?
@hunkim How to import a module?
Import the module.
How to open a file to write text?
@hunkim How to open a file to write text?
open("filename", "w")
How to open a file to read?
@hunkim How to open a file to read?
open("filename", "r")
How to use turtle.write?
@hkpeterpeter How to use turtle.write?
How to use turtle.write?
How to use range?
@hkpeterpeter How to use range?
Use range to find the range of a set of numbers.
How to use randint?
@hkpeterpeter How to use randint?
randint(a, b)
what is random.random()
@linyongver what is random.random()
random.random()
how to use concat two lists
@dongkyuk how to use append two lists
Use the append function.
how to concat two lists
@dongkyuk how to concat two lists
how to print formatted text?
@skyer9 how to print formatted text?
Use the "print()" function.
what is deep copy?