It looks as a variable is being declared in print but when I run it behave differently noticing is not a variable so what end=' ' means and does?
            Asked
            
        
        
            Active
            
        
            Viewed 35 times
        
    -3
            
            
        - 
                    It is a keyword argument to the [print function](https://docs.python.org/3/library/functions.html#print) – khelwood Oct 29 '20 at 19:17
- 
                    functions in python can take position arguments (args) and keyword arguments (kwargs). The documentation for the print function is here: https://docs.python.org/3/library/functions.html#print – Paul H Oct 29 '20 at 19:17
- 
                    print new line simple – Umair Mubeen Oct 29 '20 at 19:17
1 Answers
0
            
            
        The print method can take multiple variables which is what you're doing here. end is a named param for the print method that tells it what to print at the end of the given string. So yes, it is a variable being declared as an empty string. Other variables that print takes are:
- sep
- file
- flush
See more in the documentation here: w3 schools
 
    
    
        akerr
        
- 355
- 1
- 11

