The print () statement cannot output variables.
The print () statement cannot output variables because the input parameters are not separated by commas. When using the print () function to output multiple variables, the input parameters are separated by commas. By default, they are separated by spaces. Print, only formatted strings can be printed, variables of string type can be output, and plastic variables and plastic cannot be output. Print is a function that can return a value and has only one parameter. For example, in Python, the print statement can generate output from a file contained in sys.stdout, and it accepts a comma-separated object table.