Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6
Yes you input an integer format And print in char format Automatically it's convert in ASCII code
2nd May 2020, 7:57 PM
Gaurav Dixit🇮🇳
Gaurav Dixit🇮🇳 - avatar
+ 5
Yes you can get.. n=int(input ("Enter Num:")) print(chr(n))
2nd May 2020, 7:23 PM
ANJALI SAHU
+ 3
Input 65 is output 6 and 5 ? Aad Hoogenboom For this : n=input("Enter:") for i in n: print(i )
2nd May 2020, 7:47 PM
ANJALI SAHU
+ 2
#To get an Ascii output by #Entering an Integer value... #First step:enter the input from the user int_value=int(input("Enter Number:") #Second convert the Integer to #Ascii by using '''chr()''' ascii_conversion=chr(int_value) print(ascii_coversion) ##output= A
3rd May 2020, 12:48 PM
Kamlesh Patil
Kamlesh Patil - avatar
+ 2
int k; char a; for(k=1;k<=255;k++){ char a=k; printf("ascii code of %d is %c",k,a); } SIMILARLY CONVERT IT FOR PYTHON
8th May 2020, 4:32 PM
Kenny Rogers
+ 2
#include<stdio.h> int main(){ int n; printf("Enter a Integer : "); scanf("%d",&n); printf("%c",n); }
12th May 2020, 11:52 PM
Neeraj Maurya
Neeraj Maurya - avatar
+ 1
Chr= int( input ()) Print (chr(chr))
4th May 2020, 6:41 AM
Sâñtôsh
Sâñtôsh - avatar
+ 1
#python #one liner #error GOD programz print(chr(int(input())))
4th May 2020, 12:18 PM
Govinda Kumar
Govinda Kumar - avatar
+ 1
We can do it by using char function on input value
4th May 2020, 1:30 PM
Akash Dhunde
+ 1
ch = int (input ("Enter a ASCII number : ")) print (chr (ch))
5th May 2020, 1:16 AM
Abhishek Singh
Abhishek Singh - avatar
0
inp = [65,66,67,68,13,100] out = "" for x in inp: out+=chr(x) print(out) Hope this helped it can handle one or more than one integers giving a meaningful output
4th May 2020, 11:32 AM
[B.S.] BITTU
[B.S.] BITTU - avatar
0
you can input this: a=chr(int(input())) print(a)
4th May 2020, 3:28 PM
Ashish Singh
Ashish Singh - avatar