Define a function that can convert a integer into a string and print it in console.
Hints:
Use str() to convert a number to string.
Solution:
def printValue(n):
print str(n)
printValue(3)
Define a function that can convert a integer into a string and print it in console In Python
Reviewed by Shashank Agrahari
on
January 08, 2019
Rating: 5