Answers for "ascii lowercase python"

5

convert string to lowercase in python

str = 'HELLO'
print(str.lower())

#prints "hello"
Posted by: Guest on February-01-2021
0

python program to print ASCII characters in lowercase

# input a number
s=int(input('Enter an ASCII value: '))

# getting its ascii character
n=chr(s)

# printing the result
print('ASCII of value {} is {}.'.format(s,n))
Posted by: Guest on November-16-2021

Python Answers by Framework

Browse Popular Code Answers by Language