{"id":228627,"date":"2024-04-14T01:17:16","date_gmt":"2024-04-14T01:17:16","guid":{"rendered":"https:\/\/namso-gen.co\/blog\/?p=228627"},"modified":"2024-04-14T01:17:16","modified_gmt":"2024-04-14T01:17:16","slug":"how-to-know-ascii-value-in-python","status":"publish","type":"post","link":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/","title":{"rendered":"How to know ASCII value in Python?"},"content":{"rendered":"<p>If you&#8217;re working with Python and need to know the ASCII value of a character, you&#8217;ll be pleased to know that Python provides a straightforward method to achieve this. The built-in <code>ord()<\/code> function allows you to find the ASCII value of any character or string in Python. Let&#8217;s dive into the details of how to use it!<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_62 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#How_does_the_ord_function_work\" title=\"How does the ord() function work?\">How does the ord() function work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#How_do_I_use_the_ord_function\" title=\"How do I use the ord() function?\">How do I use the ord() function?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#Can_I_use_the_ord_function_with_non-alphabet_characters\" title=\"Can I use the ord() function with non-alphabet characters?\">Can I use the ord() function with non-alphabet characters?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#Is_there_a_way_to_find_the_ASCII_values_of_multiple_characters_at_once\" title=\"Is there a way to find the ASCII values of multiple characters at once?\">Is there a way to find the ASCII values of multiple characters at once?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#How_do_I_find_the_ASCII_value_of_a_character_entered_by_the_user\" title=\"How do I find the ASCII value of a character entered by the user?\">How do I find the ASCII value of a character entered by the user?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#What_if_I_want_to_find_the_ASCII_value_of_the_first_character_in_a_string\" title=\"What if I want to find the ASCII value of the first character in a string?\">What if I want to find the ASCII value of the first character in a string?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#What_if_I_want_to_find_the_ASCII_values_of_all_characters_in_a_string_except_the_first_one\" title=\"What if I want to find the ASCII values of all characters in a string except the first one?\">What if I want to find the ASCII values of all characters in a string except the first one?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#How_can_I_find_the_ASCII_values_of_uppercase_letters_only\" title=\"How can I find the ASCII values of uppercase letters only?\">How can I find the ASCII values of uppercase letters only?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#Can_I_find_the_ASCII_values_of_lowercase_letters_only\" title=\"Can I find the ASCII values of lowercase letters only?\">Can I find the ASCII values of lowercase letters only?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#How_can_I_find_the_ASCII_values_for_digits\" title=\"How can I find the ASCII values for digits?\">How can I find the ASCII values for digits?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#How_do_I_find_the_ASCII_value_of_a_null_character\" title=\"How do I find the ASCII value of a null character?\">How do I find the ASCII value of a null character?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#What_happens_if_I_pass_an_empty_string_to_the_ord_function\" title=\"What happens if I pass an empty string to the ord() function?\">What happens if I pass an empty string to the ord() function?<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"How_does_the_ord_function_work\"><\/span>How does the ord() function work?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>The <code>ord()<\/code> function takes a character as its parameter and returns an integer representing the ASCII value of that character.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_use_the_ord_function\"><\/span>How do I use the ord() function?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>To use the <code>ord()<\/code> function, you simply need to pass the character or string whose ASCII value you want to find as an argument to the function. Here&#8217;s an example:<\/p>\n<p><code><br \/>\nchar = 'A'<br \/>\nprint(ord(char))<br \/>\n<\/code><\/p>\n<p>This code will output <code>65<\/code>, which is the ASCII value for the character &#8216;A&#8217;.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Can_I_use_the_ord_function_with_non-alphabet_characters\"><\/span>Can I use the ord() function with non-alphabet characters?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Yes, you can use the <code>ord()<\/code> function to find the ASCII value of any character, not just alphabet characters. This includes symbols, digits, and special characters.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Is_there_a_way_to_find_the_ASCII_values_of_multiple_characters_at_once\"><\/span>Is there a way to find the ASCII values of multiple characters at once?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>To find the ASCII values of multiple characters, you can loop through a string or a list containing the characters and apply the <code>ord()<\/code> function to each character individually. Here&#8217;s an example:<\/p>\n<p><code><br \/>\nstring = \"Hello\"<br \/>\nascii_values = []<\/p>\n<p>for char in string:<br \/>\n    ascii_values.append(ord(char))<\/p>\n<p>print(ascii_values)<br \/>\n<\/code><\/p>\n<p>This code will output <code>[72, 101, 108, 108, 111]<\/code>, which are the ASCII values for the characters in the string &#8220;Hello&#8221;.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_find_the_ASCII_value_of_a_character_entered_by_the_user\"><\/span>How do I find the ASCII value of a character entered by the user?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>To find the ASCII value of a character entered by the user, you can use the <code>input()<\/code> function to prompt the user for a character, and then pass the input to the <code>ord()<\/code> function. Here&#8217;s an example:<\/p>\n<p><code><br \/>\nchar = input(\"Enter a character: \")<br \/>\nprint(ord(char))<br \/>\n<\/code><\/p>\n<p>This code will prompt the user to enter a character and then display the ASCII value of that character.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_if_I_want_to_find_the_ASCII_value_of_the_first_character_in_a_string\"><\/span>What if I want to find the ASCII value of the first character in a string?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>If you want to find the ASCII value of the first character in a string, you can specify the index of the character in the string and pass it to the <code>ord()<\/code> function. Here&#8217;s an example:<\/p>\n<p><code><br \/>\nstring = \"Hello\"<br \/>\nfirst_char = string[0]<br \/>\nprint(ord(first_char))<br \/>\n<\/code><\/p>\n<p>This code will output <code>72<\/code>, which is the ASCII value for the first character &#8216;H&#8217; in the string &#8220;Hello&#8221;.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_if_I_want_to_find_the_ASCII_values_of_all_characters_in_a_string_except_the_first_one\"><\/span>What if I want to find the ASCII values of all characters in a string except the first one?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>If you want to find the ASCII values of all characters in a string except the first one, you can use string slicing to create a new string containing all characters except the first one, and then apply the <code>ord()<\/code> function to each character individually. Here&#8217;s an example:<\/p>\n<p><code><br \/>\nstring = \"Hello\"<br \/>\nremaining_chars = string[1:]<\/p>\n<p>ascii_values = []<br \/>\nfor char in remaining_chars:<br \/>\n    ascii_values.append(ord(char))<\/p>\n<p>print(ascii_values)<br \/>\n<\/code><\/p>\n<p>This code will output <code>[101, 108, 108, 111]<\/code>, which are the ASCII values for the characters &#8216;e&#8217;, &#8216;l&#8217;, &#8216;l&#8217;, and &#8216;o&#8217; in the string &#8220;Hello&#8221;.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_can_I_find_the_ASCII_values_of_uppercase_letters_only\"><\/span>How can I find the ASCII values of uppercase letters only?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>If you want to find the ASCII values of uppercase letters only, you can use conditional statements to check if a character is uppercase before applying the <code>ord()<\/code> function. Here&#8217;s an example:<\/p>\n<p><code><br \/>\nstring = \"Hello World\"<\/p>\n<p>uppercase_values = []<br \/>\nfor char in string:<br \/>\n    if char.isupper():<br \/>\n        uppercase_values.append(ord(char))<\/p>\n<p>print(uppercase_values)<br \/>\n<\/code><\/p>\n<p>This code will output <code>[72, 87]<\/code>, which are the ASCII values for the uppercase characters &#8216;H&#8217; and &#8216;W&#8217; in the string &#8220;Hello World&#8221;.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Can_I_find_the_ASCII_values_of_lowercase_letters_only\"><\/span>Can I find the ASCII values of lowercase letters only?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Yes, you can find the ASCII values of lowercase letters by using the <code>islower()<\/code> method instead of <code>isupper()<\/code> in the previous example.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_can_I_find_the_ASCII_values_for_digits\"><\/span>How can I find the ASCII values for digits?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>You can find the ASCII values for digits by looping through the range from 0 to 9 and using the <code>ord()<\/code> function on each digit. Here&#8217;s an example:<\/p>\n<p><code><br \/>\ndigits = \"0123456789\"<br \/>\nascii_values = []<\/p>\n<p>for digit in digits:<br \/>\n    ascii_values.append(ord(digit))<\/p>\n<p>print(ascii_values)<br \/>\n<\/code><\/p>\n<p>This code will output <code>[48, 49, 50, 51, 52, 53, 54, 55, 56, 57]<\/code>, which are the ASCII values for the digits 0 to 9.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_find_the_ASCII_value_of_a_null_character\"><\/span>How do I find the ASCII value of a null character?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>To find the ASCII value of a null character, you can pass the null character itself to the <code>ord()<\/code> function. Here&#8217;s an example:<\/p>\n<p><code><br \/>\nnull_char = 'x00'<br \/>\nprint(ord(null_char))<br \/>\n<\/code><\/p>\n<p>This code will output <code>0<\/code>, which is the ASCII value for the null character.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_happens_if_I_pass_an_empty_string_to_the_ord_function\"><\/span>What happens if I pass an empty string to the ord() function?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>If you pass an empty string to the <code>ord()<\/code> function, Python will raise a <code>TypeError<\/code> since it expects a character or string as its parameter.<\/p>\n<p>Now that you know how to use the <code>ord()<\/code> function, you can easily find the ASCII value of any character or string in Python. This knowledge can come in handy when working with character encoding, data manipulation, or any other situation where ASCII values are relevant.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re working with Python and need to know the ASCII value of a character, you&#8217;ll be pleased to know that Python provides a straightforward method to achieve this. The built-in ord() function allows you to find the ASCII value of any character or string in Python. Let&#8217;s dive into the details of how to &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to know ASCII value in Python?\" class=\"read-more button\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#more-228627\">Read more<span class=\"screen-reader-text\">How to know ASCII value in Python?<\/span><\/a><\/p>\n","protected":false},"author":57,"featured_media":107420,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86279],"tags":[],"class_list":["post-228627","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn","no-featured-image-padding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to know ASCII value in Python?<\/title>\n<meta name=\"description\" content=\"If you&#039;re working with Python and need to know the ASCII value of a character, you&#039;ll be pleased to know that Python provides a straightforward method to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to know ASCII value in Python?\" \/>\n<meta property=\"og:description\" content=\"If you&#039;re working with Python and need to know the ASCII value of a character, you&#039;ll be pleased to know that Python provides a straightforward method to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/synchronyfinancial\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-14T01:17:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2024\/03\/faq.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Casey Mayer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@synchrony\" \/>\n<meta name=\"twitter:site\" content=\"@synchrony\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Casey Mayer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/\"},\"author\":{\"name\":\"Casey Mayer\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/89e431077ef417dfaa131f435124f18f\"},\"headline\":\"How to know ASCII value in Python?\",\"datePublished\":\"2024-04-14T01:17:16+00:00\",\"dateModified\":\"2024-04-14T01:17:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/\"},\"wordCount\":722,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\"},\"articleSection\":[\"Learn\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/\",\"url\":\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/\",\"name\":\"How to know ASCII value in Python?\",\"isPartOf\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#website\"},\"datePublished\":\"2024-04-14T01:17:16+00:00\",\"dateModified\":\"2024-04-14T01:17:16+00:00\",\"description\":\"If you're working with Python and need to know the ASCII value of a character, you'll be pleased to know that Python provides a straightforward method to\",\"breadcrumb\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/namso-gen.co\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to know ASCII value in Python?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#website\",\"url\":\"https:\/\/namso-gen.co\/blog\/\",\"name\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\",\"description\":\"In Namso gen blog you can get many tips regarding to Credit cards, VCC, Credit card security etc. You can generate credit cards by using Namso-gen.co\",\"publisher\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/namso-gen.co\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\",\"name\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\",\"url\":\"https:\/\/namso-gen.co\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png\",\"contentUrl\":\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png\",\"width\":500,\"height\":164,\"caption\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\"},\"image\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/synchronyfinancial\",\"https:\/\/twitter.com\/synchrony\",\"https:\/\/www.youtube.com\/synchronyfinancial\",\"https:\/\/www.instagram.com\/synchrony\",\"https:\/\/www.linkedin.com\/company\/synchrony-financial\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/89e431077ef417dfaa131f435124f18f\",\"name\":\"Casey Mayer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Casey Mayer\"},\"description\":\"Guest author Casey Mayer has meticulously crafted and revised this article to the best of their knowledge and understanding. Readers are strongly advised to exercise caution, verify information independently, and rely on their own judgment when considering the information provided. Read more articles on Namso Gen here.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to know ASCII value in Python?","description":"If you're working with Python and need to know the ASCII value of a character, you'll be pleased to know that Python provides a straightforward method to","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/","og_locale":"en_US","og_type":"article","og_title":"How to know ASCII value in Python?","og_description":"If you're working with Python and need to know the ASCII value of a character, you'll be pleased to know that Python provides a straightforward method to","og_url":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/","og_site_name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","article_publisher":"https:\/\/www.facebook.com\/synchronyfinancial","article_published_time":"2024-04-14T01:17:16+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2024\/03\/faq.png","type":"image\/png"}],"author":"Casey Mayer","twitter_card":"summary_large_image","twitter_creator":"@synchrony","twitter_site":"@synchrony","twitter_misc":{"Written by":"Casey Mayer","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#article","isPartOf":{"@id":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/"},"author":{"name":"Casey Mayer","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/89e431077ef417dfaa131f435124f18f"},"headline":"How to know ASCII value in Python?","datePublished":"2024-04-14T01:17:16+00:00","dateModified":"2024-04-14T01:17:16+00:00","mainEntityOfPage":{"@id":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/"},"wordCount":722,"commentCount":0,"publisher":{"@id":"https:\/\/namso-gen.co\/blog\/#organization"},"articleSection":["Learn"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/","url":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/","name":"How to know ASCII value in Python?","isPartOf":{"@id":"https:\/\/namso-gen.co\/blog\/#website"},"datePublished":"2024-04-14T01:17:16+00:00","dateModified":"2024-04-14T01:17:16+00:00","description":"If you're working with Python and need to know the ASCII value of a character, you'll be pleased to know that Python provides a straightforward method to","breadcrumb":{"@id":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/namso-gen.co\/blog\/how-to-know-ascii-value-in-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/namso-gen.co\/blog\/"},{"@type":"ListItem","position":2,"name":"How to know ASCII value in Python?"}]},{"@type":"WebSite","@id":"https:\/\/namso-gen.co\/blog\/#website","url":"https:\/\/namso-gen.co\/blog\/","name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","description":"In Namso gen blog you can get many tips regarding to Credit cards, VCC, Credit card security etc. You can generate credit cards by using Namso-gen.co","publisher":{"@id":"https:\/\/namso-gen.co\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/namso-gen.co\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/namso-gen.co\/blog\/#organization","name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","url":"https:\/\/namso-gen.co\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png","contentUrl":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png","width":500,"height":164,"caption":"Namso Gen Blog - Free Credit Card Generator [100% Valid]"},"image":{"@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/synchronyfinancial","https:\/\/twitter.com\/synchrony","https:\/\/www.youtube.com\/synchronyfinancial","https:\/\/www.instagram.com\/synchrony","https:\/\/www.linkedin.com\/company\/synchrony-financial"]},{"@type":"Person","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/89e431077ef417dfaa131f435124f18f","name":"Casey Mayer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Casey Mayer"},"description":"Guest author Casey Mayer has meticulously crafted and revised this article to the best of their knowledge and understanding. Readers are strongly advised to exercise caution, verify information independently, and rely on their own judgment when considering the information provided. Read more articles on Namso Gen here."}]}},"_links":{"self":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts\/228627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/comments?post=228627"}],"version-history":[{"count":0,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts\/228627\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/media\/107420"}],"wp:attachment":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/media?parent=228627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/categories?post=228627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/tags?post=228627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}