Posts

Showing posts with the label print

Print Method In Python

Image
  Code Example The  print()  function prints the specified message to the screen or other standard output device. The message can be a string or any other object, the object will be converted into a string before written to the screen. Example 1: >>> print("I Love Python") I Love Python Example 2: >>> print(1,2,3,4,5, sep='*') 1*2*3*4*5 Example 3: >>> print(1,2,3,4,5, sep='#', end='@') 1#2#3#4#5@ Get Help