Computer Science | Artificial Intelligence | Computational Biology | Chess | Blender
import random import string # Make variables to make the SSN id_chars = list(string.ascii_letters) random.shuffle(id_chars) last_char = list(string.digits) random.shuffle(last_char) # Get user input first_name = input('Enter your first name: ') last_name = input('Enter your last name: ') gender = input('Enter your gender: ') height = float(input('Enter you height in meters: ')) id = str(''.join(id_chars)[0:8]) + str(''.join(last_char)[0:4]) # Print the ID print() print('|^^^^^^^^^^^^^^^|', end=' ') print(f'First Name: {first_name}') print('| o o |', end=' ') print(f'Last Name: {last_name}') print('| ^ |', end=' ') print(f'Gender: {gender}') print('| ----- |', end=' ') print(f'Height: {height}') print('|...............|' , end=' ') print(f'SSN: {id}')