Python. Input inside of function [closed]

  function, input, python

First of all, I know there are similar questions to mine, but I can’t seem to find my flaw. I know that variables outside of a function, don’t work inside a function. Should I put it inside of the function? I don’t get any output. I’ve tried a lot of possibilites, but I’m at a loss. Thank you in advance!

import random
import itertools
import string

Choice = input("J1gg = 1nPhone Number Generatorn")

p = input("Ort:")

def J1gg(p):
    string.ascii_letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    for i in range(5 ** 5):
    print(random.choice(string.ascii_letters) + random.choice(string.ascii_letters) + random.choice(
            string.ascii_letters), p)
if Choice == 1:
    J1gg()
elif Choice == 2:
    Phone_Number_Generator() #not included

Source: Python Questions

LEAVE A COMMENT