Answers for "using a print function"

16

print() in python

print('hi, baby!')
Posted by: Guest on January-02-2021
4

how to print in python

print("The text you want")
Posted by: Guest on November-12-2020
0

using a print function

>>>ethosspace = 'Testing Services'
>>>ethosspace  
' Testing Services '

>>> a=9
 >>> b='Testing'
 >>> c=['Prog']
 >>> print(a,b,c)
         9 Testing ['Prog']

>>>print ('ethosspace'); print('leading software testing provider')
        ethosspace
        leading software testing provider
Posted by: Guest on November-05-2021
0

using a print function

>>>print (‘ethosspace’,end=”); print(‘ leading software testing provider’)

ethosspace leading software testing provider

>>>x=5
>>>y=8
>>>z=2 * (x+y)
>>>print('A rectangle %d by %d has a perimeter of %d units.'%(x,y,z))
A rectangle 5 by 8 has a perimeter of 26 units.
Posted by: Guest on November-05-2021

Code answers related to "using a print function"

Python Answers by Framework

Browse Popular Code Answers by Language