{"id":5970,"date":"2022-08-31T18:15:35","date_gmt":"2022-08-31T12:45:35","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/"},"modified":"2022-08-31T18:15:35","modified_gmt":"2022-08-31T12:45:35","slug":"solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/","title":{"rendered":"[Solved] What can I do to be able to have numbers with no symbols?"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-62097622\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"62097622\" data-parentid=\"62097568\" data-score=\"0\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>This is an indentation error. The if statements that print the password at the end are inside the symbol_want if statement. You need to unindent the print statements by one level, and it will work fine.<\/p>\n<pre><code>import random\n\ndef password():\n    normal_adjectives = ['Funny', 'Amazing', 'Infinity', 'Fabulous', 'Red', 'Rainbow', 'Adorable', 'Adventurous', 'Impressive', 'Determined',\n                  'Delighted', 'Scary', 'Active', 'Distinct', 'Eager', 'Elegant', 'Excited', 'Enchanted', 'Fair', 'Fierce', 'Fancy',\n                  'Gentle', 'Glamorous', 'Graceful', 'Happy', 'Handsome', 'Hungry', 'Fluffy', 'Important', 'Itchy', 'Impossible',\n                  'Jealous', 'Joyous', 'Jolly', 'Kind', 'Caring', 'Lazy', 'Lonely', 'Lucky', 'Lovely', 'Magnificent', 'Modern',\n                'Mysterious', 'Naughty', 'Nervous', 'Nice', 'Obnoxious', 'Outrageous', 'Outstanding', 'Perfect', 'Pleasant',\n                'Powerful', 'Precious', 'Proud', 'Real', 'Rich', 'Smily', 'Sleepy', 'Sore', 'Sparkling', 'Splendid',\n                'Stormy', 'Strange', 'Super', 'Talented', 'Tense', 'Tender', 'Terrible', 'Thankful', 'Thoughtful',\n                'Tired', 'Tough', 'Troubled', 'Unusual', 'Vast', 'Victorious', 'Vicious', 'Slick', 'Weary', 'Wicked',\n                'Wild', 'Worried', 'Zealous', 'Orange', 'Yellow', 'Green', 'Blue', 'Pink', 'Purple', 'Indigo', 'Violet',\n                'Affectionate', 'Stubborn', 'Confused', 'Sticky', 'Slimy', 'Hairless', 'Hairy']\n\n    normal_nouns = ['Cheetah', 'Book', 'Chair', 'Pigeon', 'Dolphin', 'Actor', 'Animal', 'Apple', 'Balloon', 'Banana', 'Battery',\n            'Bed', 'Boy', 'Branch', 'Car', 'Candle', 'Carpet', 'Crayon', 'Diamond', 'Dream', 'Dress', 'Egg', 'Eggplant',\n            'Elephant', 'Eye', 'Fish', 'Forest', 'Football', 'Fountain', 'Garage', 'Gold', 'Grass', 'Guitar', 'Hamburger',\n            'Helmet', 'Horse', 'Penguin', 'Honey', 'Ice', 'Insect', 'Iron', 'Jelly', 'Juice', 'Kangaroo', 'Kite', 'Knife',\n            'Lamp', 'Lion', 'Lizard', 'Lunch', 'Magazine', 'Monkey', 'Microphone', 'Nail', 'Needle', 'Notebook', 'Ocean',\n            'Oil', 'Oyster', 'Ghost', 'Parrot', 'Piano', 'Pizza', 'Pillow', 'Planet', 'Queen', 'Rainbow', 'Restaurant',\n            'River', 'Rose', 'Sandwich', 'Shampoo', 'Sugar', 'Stone', 'Spoon', 'Shoe', 'Phone', 'Telephone', 'Television',\n            'Tent', 'Tomato', 'Toothbrush', 'Train', 'Truck', 'Umbrella', 'Vase', 'Vegetable', 'Vulture', 'Wall', 'Whale',\n            'Wizard', 'Window', 'Wire', 'Xylophone', 'Yacht', 'Zebra', 'Glass', 'Gas', 'Budgie', 'Snake', 'Chimpanzee']\n\n    funny_adjectives = ['Hairy', 'Crazy', 'Hysterical', 'Funny', 'Feisty', 'Chunky', 'Fluffy', 'Hungry', 'Itchy', 'Jolly',\n                        'Modern', 'Naughty', 'Obnoxious', 'Outrageous', 'Smily', 'Troubled', 'Wild', 'Brown', 'Hairless',\n                        'Slimy', 'Sticky', 'Confused', 'Stubborn', 'Idiotic', 'Affectionate', 'Determined', 'Feeble'\n                        'Flying', 'Helpless', 'Hopeful', 'Dead']\n\n    funny_nouns = ['Monkey', 'Toaster', 'Lettuce', 'Kitty', 'ElasticBand', 'Arms', 'Legs', 'ToiletSeat', 'DeathWish',\n                   'Pigeon', 'Egg', 'Grass', 'Hamburger', 'Shampoo', 'Door', 'Wall', 'FishEye', 'FluffBall', 'Sardine',\n                   'Blubber', 'Gargoyle', 'Goggles', 'Hedge', 'Shrub', 'Squelch', 'Donkey', 'Pepper']\n\n    animal_adjectives = ['Flying', 'Epic', 'Hissing', 'Swift', 'Fast', 'Amazing', 'Growling', 'Snarling', 'Frisky',\n                         'Amphibious', 'Exotic', 'Feral', 'Wild', 'Dead', 'Scary', 'Fluffy', 'Domestic', 'Tame',\n                         'Vicious', 'Graceful', 'Predatory', 'Aquatic', 'Screeching', 'Adorable']\n\n    animal_nouns = ['Cat', 'Snake', 'Dog', 'Monkey', 'Budgie', 'Bird', 'Ant', 'Anteater', 'Fish', 'Sardine', 'Chimpanzee',\n                    'Clownfish', 'Lionfish', 'Bear', 'Lion', 'Tiger', 'Elephant', 'Hippo', 'Rhinoceros', 'Frog', 'Wolf',\n                    'Buffalo', 'Eagle', 'Hawk', 'Albatross', 'Lynx', 'PolarBear', 'Snowcat', 'Lizard', 'Crocodile',\n                    'Alligator', 'Parrot', 'Badger', 'Beaver', 'Crow', 'Squirrel', 'Dragon', 'Cheetah', 'Pigeon',\n                    'Dolphin', 'Kangaroo', 'Fly', 'Insect', 'Horse', 'Penguin', 'Squid', 'Octopus', 'Vulture',\n                    'Zebra', 'Kitten', 'Donkey', 'Antelope', 'Echidna', 'Pelican', 'Baboon', 'Bee', 'Swan', 'Tapir',\n                    'Hyena', 'Lemur', 'Pig', 'Cow', 'Sheep', 'Camel', 'Giraffe', 'Cobra', 'Crab', 'Crane', 'Dingo',\n                    'Fox', 'Dove', 'JayBird', 'Owl', 'Hedgehog', 'Elk', 'Emu', 'Falcon', 'Turtle', 'Hornet', 'Wasp',\n                    'Ibis', 'Jackal', 'Koala']\n\n    landmarks_adjectives = ['Tall', 'Sparkling', 'Dazzling', 'White', 'Sandy', 'Rocky', 'Big', 'Large', 'Golden', 'Amazing',\n                            'Inccredible']\n\n    landmarks_nouns = ['EiffelTower', 'TowerOfPisa', 'Colosseum', 'WhiteHouse', 'TajMahal', 'WallOfChina', 'StatueOfLiberty',\n                       'PyramidOfGiza', 'Uluru', 'OperaHouse', 'ParliamentHouse', 'LondonEye', 'Stonehenge',\n                       'GoldenGateBridge']\n\n    food_adjectives = ['Delicious', 'Juicy', 'Luxurious', 'Warm', 'Salty', 'Spicy', 'Flavoursome', 'Bitter', 'Enjoyable',\n                       'Delectable', 'Crunchy', 'Sweet', 'Sour', 'Savoury', 'Divine', 'Fruity', 'Appetising', 'Heavenly',\n                       'Hot', 'Lush', 'Mouthwatering', 'Incredible', 'Horrid', 'Peppery', 'Pungent', 'Pleasant',\n                       'Rich', 'Scrumptious', 'Sharp', 'Strong', 'Succulent', 'Sugary', 'Saline', 'Tasteless', 'Tasty',\n                       'Yummy']\n\n    food_nouns = ['Apple', 'Banana', 'Hamburger', 'Burger', 'Cheeseburger', 'Strawberry', 'Steak', 'Pasta', 'Mince',\n                  'Fry', 'Chip', 'Avocado', 'Blueberry', 'Orange', 'Egg', 'Chicken', 'Coconut', 'Asparagus', 'Broccoli',\n                  'Cauliflower', 'Carrot', 'Cucumber', 'Garlic', 'Kale', 'Tomato', 'Salmon', 'Cereal', 'Fruit',\n                  'Bread', 'Cookie', 'Cheese', 'Yoghurt', 'Milk', 'Juice', 'Eggplant', 'Jelly', 'Honey', 'Pizza']\n\n    harrypotter_adjectives = ['Magical', 'Swish', 'Flick', 'Transforming', 'Brave', 'Bold', 'Invisible', 'Dead', 'Forbidden',\n                              'Mysterious', 'Secret']\n\n    harrypotter_nouns = ['HarryPotter', 'Dumbledore', 'Snape', 'Weasley', 'Hermione', 'McGonagall', 'SiriusBlack',\n                         'Hagrid', 'Hedwig', 'Dobby', 'Voldemort', 'Mad-EyeMoody', 'Malfoy', 'Lovegood', 'Longbottom',\n                         'DeathlyHallows', 'Umbridge', 'Lupin', 'Scamander', 'Nagini', 'Lestrange', 'Dursley', 'Tonks',\n                         'Transfiguration', 'Gryffindor', 'Ravenclaw', 'Slytherin', 'Hufflepuff', 'Hogwarts', 'Magic']\n\n    cats_adjectives = ['Fuzzy', 'Furry', 'Agile', 'Clever', 'Precise', 'Patient', 'Hunter', 'Loud', 'Lethal', 'Lazy',\n                       'Predatory', 'Energetic', 'Sleepy', 'Loyal', 'Adorable', 'Cute', 'Passionate']\n\n    cats_nouns = ['Feline', 'Cat', 'Meow', 'Purr', 'Hiss', 'Persian', 'Bengal', 'MaineCoon', 'Siamese', 'Sphynx', 'Ragdoll',\n                  'Abyssinian']\n\n    dogs_adjectives = ['Friendly', 'Loyal', 'Loud', 'Adorable', 'Cute', 'Passionate', 'Strong', 'Smelly', 'Protective',\n                       'Smart', 'Obedient']\n\n    dogs_nouns = ['Woof', 'Dog', 'GermanShepherd', 'Labrador', 'Retriever', 'Husky', 'Poodle', 'Bulldog', 'Pug', 'Chihuahua',\n                  'Rottweiler', 'Maltese', 'Terrier', 'ChowChow']\n\n    numbers = random.randint(1,100)\n\n    symbols = ['!', '@', '#', '$', '%', '^', '&amp;', '*', '(', ')', '\\'', '-', '_', '+', '=', '`', '~', '[', '{', ']', '}', '|',\n             '&lt;', '.', '&gt;', \"https:\/\/stackoverflow.com\/\", '?']\n\n    result_normal = random.choice(normal_adjectives) + random.choice(normal_nouns)\n    result_funny = random.choice(funny_adjectives) + random.choice(funny_nouns)\n    result_animal = random.choice(animal_adjectives) + random.choice(animal_nouns)\n    result_landmarks = random.choice(landmarks_adjectives) + random.choice(landmarks_nouns)\n    result_food = random.choice(food_adjectives) + random.choice(food_nouns)\n    result_potter = random.choice(harrypotter_adjectives) + random.choice(harrypotter_nouns)\n    result_cats = random.choice(cats_adjectives) + random.choice(cats_nouns)\n    result_dogs = random.choice(dogs_adjectives) + random.choice(dogs_nouns)\n\n    case = input('Would you like your password in lowercase, uppercase or normal? (lower, upper, normal) ')\n    number_want = input('Do you want numbers? y\/n ')\n    symbol_want = input('Do you want symbols? y\/n ')\n    theme = input('Enter in the theme for your password (normal\/funny\/animal\/landmarks\/food\/harry potter\/cats\/dogs) ')\n\n    if case == 'upper':\n        result_normal = result_normal.upper()\n        result_funny = result_funny.upper()\n        result_animal = result_animal.upper()\n        result_landmarks = result_landmarks.upper()\n        result_food = result_food.upper()\n        result_potter = result_potter.upper()\n        result_cats = result_cats.upper()\n        result_dogs = result_dogs.upper()\n\n    if case == 'lower':\n        result_normal = result_normal.lower()\n        result_funny = result_funny.lower()\n        result_animal = result_animal.lower()\n        result_landmarks = result_landmarks.lower()\n        result_food = result_food.lower()\n        result_potter = result_potter.lower()\n        result_cats = result_cats.lower()\n        result_dogs = result_dogs.lower()\n\n    if number_want == 'y':\n        result_normal = result_normal + str(numbers)\n        result_funny = result_funny + str(numbers)\n        result_animal = result_animal + str(numbers)\n        result_landmarks = result_landmarks + str(numbers)\n        result_food = result_food + str(numbers)\n        result_potter = result_potter + str(numbers)\n        result_cats = result_cats + str(numbers)\n        result_dogs = result_dogs + str(numbers)\n\n    if symbol_want == 'y':\n        result_normal = result_normal + random.choice(symbols)\n        result_funny = result_funny + random.choice(symbols)\n        result_animal = result_animal + random.choice(symbols)\n        result_landmarks = result_landmarks + random.choice(symbols)\n        result_food = result_food + random.choice(symbols)\n        result_potter = result_potter + random.choice(symbols)\n        result_cats = result_cats + random.choice(symbols)\n        result_dogs = result_dogs + random.choice(symbols)\n\n    if theme=='normal':\n        print(result_normal)\n        print('Your new password is ' + result_normal)\n    elif theme=='funny':\n        print(result_funny)\n        print('Your new password is ' + result_funny)\n    elif theme=='animal':\n        print(result_animal)\n        print('Your new password is ' + result_animal)\n    elif theme=='landmarks':\n        print(result_landmarks)\n        print('Your new password is ' + result_landmarks)\n    elif theme=='food':\n        print(result_food)\n        print('Your new password is ' + result_food)\n    elif theme=='harry potter':\n        print(result_potter)\n        print('Your new password is ' + result_potter)\n    elif theme=='cats':\n        print(result_cats)\n        print('Your new password is ' + result_cats)\n    elif theme=='dogs':\n        print(result_dogs)\n        print('Your new password is ' + result_dogs)\n    else:\n        print(theme + ' is not a valid theme!')\n\n    other_p = input('Would you like another password? y\/n ')\n\n    if other_p == 'y':\n        password()\n\nstart = input('Welcome to the Python Password Generator! Type the word start to start! ')\n\nif start == 'start':\n    password()\nelse:\n   print('Type \\'start\\' to start, not ' + start)\n<\/code><\/pre>\n<p>While this will work once you fix the indentation, this is a terrible implementation. I would suggest setting the theme first, and then adding numbers and symbols. Something like<\/p>\n<pre><code>case = input('Would you like your password in lowercase, uppercase or normal? (lower, upper, normal) ')\nnumber_want = input('Do you want numbers? y\/n ')\nsymbol_want = input('Do you want symbols? y\/n ')\ntheme = input('Enter in the theme for your password (normal\/funny\/animal\/landmarks\/food\/harry potter\/cats\/dogs) ')\n\nif theme == 'normal':\n    password = random.choice(normal_adjectives) + random.choice(normal_nouns)\nelif theme == 'funny':\n    password = random.choice(funny_adjectives) + random.choice(funny_nouns)\nelif theme == 'animal':\n    password = random.choice(animal_adjectives) + random.choice(animal_nouns)\nelif theme == 'landmarks':\n    password = random.choice(landmarks_adjectives) + random.choice(landmarks_nouns)\nelif theme == 'food':\n    password = random.choice(food_adjectives) + random.choice(food_nouns)\nelif theme == 'harry potter':\n    password = random.choice(harrypotter_adjectives) + random.choice(harrypotter_nouns)\nelif theme == 'cats':\n    password = random.choice(cats_adjectives) + random.choice(cats_nouns)\nelif theme == 'dogs':\n   password = random.choice(dogs_adjectives) + random.choice(dogs_nouns)\nelse:\n    print(theme + ' is not a valid theme!')\n\nif case == 'upper':\n    password = password.upper()\n\nif case == 'lower':\n    password = password.lower()\n\nif number_want == 'y':\n    password = password + str(numbers)\n\nif symbol_want == 'y':\n    password = password + random.choice(symbols)\n\nprint(\"Your password is:\", password)\n\nother_p = input('Would you like another password? y\/n ')\n\nif other_p == 'y':\n    password()\n<\/code><\/pre>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">0<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved What can I do to be able to have numbers with no symbols? <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] This is an indentation error. The if statements that print the password at the end are inside the symbol_want if statement. You need to unindent the print statements by one level, and it will work fine. import random def password(): normal_adjectives = [&#8216;Funny&#8217;, &#8216;Amazing&#8217;, &#8216;Infinity&#8217;, &#8216;Fabulous&#8217;, &#8216;Red&#8217;, &#8216;Rainbow&#8217;, &#8216;Adorable&#8217;, &#8216;Adventurous&#8217;, &#8216;Impressive&#8217;, &#8216;Determined&#8217;, &#8216;Delighted&#8217;, &#8216;Scary&#8217;, &#8230; <a title=\"[Solved] What can I do to be able to have numbers with no symbols?\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\" aria-label=\"More on [Solved] What can I do to be able to have numbers with no symbols?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[349],"class_list":["post-5970","post","type-post","status-publish","format-standard","hentry","category-solved","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] What can I do to be able to have numbers with no symbols? - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] What can I do to be able to have numbers with no symbols? - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] This is an indentation error. The if statements that print the password at the end are inside the symbol_want if statement. You need to unindent the print statements by one level, and it will work fine. import random def password(): normal_adjectives = [&#039;Funny&#039;, &#039;Amazing&#039;, &#039;Infinity&#039;, &#039;Fabulous&#039;, &#039;Red&#039;, &#039;Rainbow&#039;, &#039;Adorable&#039;, &#039;Adventurous&#039;, &#039;Impressive&#039;, &#039;Determined&#039;, &#039;Delighted&#039;, &#039;Scary&#039;, ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-31T12:45:35+00:00\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] What can I do to be able to have numbers with no symbols?\",\"datePublished\":\"2022-08-31T12:45:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\"},\"wordCount\":96,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"python\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\",\"name\":\"[Solved] What can I do to be able to have numbers with no symbols? - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-08-31T12:45:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] What can I do to be able to have numbers with no symbols?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] What can I do to be able to have numbers with no symbols? - JassWeb","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:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] What can I do to be able to have numbers with no symbols? - JassWeb","og_description":"[ad_1] This is an indentation error. The if statements that print the password at the end are inside the symbol_want if statement. You need to unindent the print statements by one level, and it will work fine. import random def password(): normal_adjectives = ['Funny', 'Amazing', 'Infinity', 'Fabulous', 'Red', 'Rainbow', 'Adorable', 'Adventurous', 'Impressive', 'Determined', 'Delighted', 'Scary', ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/","og_site_name":"JassWeb","article_published_time":"2022-08-31T12:45:35+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] What can I do to be able to have numbers with no symbols?","datePublished":"2022-08-31T12:45:35+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/"},"wordCount":96,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["python"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/","url":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/","name":"[Solved] What can I do to be able to have numbers with no symbols? - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-08-31T12:45:35+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-what-can-i-do-to-be-able-to-have-numbers-with-no-symbols\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] What can I do to be able to have numbers with no symbols?"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/5970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=5970"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/5970\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=5970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=5970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=5970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}