python equivalent for char datatype in C -
is there python datatype equivalent char datatype in c? in c, char variable can store 1 byte of information. eg c code , output
void main() { char a; printf("enter value"); scanf("%d",&a); printf("a = %d",a); } output
enter value 255 = 255 enter value 256 = 0
i want exact output in python. please me. in advance.
given usecase want modular behaviour, take input int, , a%256 find result want.
Comments
Post a Comment