ASCII to String

    0

    0

    Mahendra Kumar

    beginnerpythonListASCIIconversion

    Program to Convert ASCII to String in Python

    # take list
    l = []
    for i in range(len(l)):
      l.append(int(input())
    # printing list
    print("List of ASCII value =", l)
    # ASCII to string using naive method
    string = ""
    for num in l:
        string = string + chr(num)
    # Printing string
    print ("String:", str(string))
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.