<jupyter_start><jupyter_text>Good Morning! For today's coding challenge, we are going to solve some python basics.   1. Write a Python program to create all possible strings by using 'a', 'e', 'i', 'o', 'u'. Use the characters exactly once.<jupyter_code># TODO code here

# If you mean use the characters only once in the code, then this block does that
letters = ['a', 'e', 'i', 'o', 'u']

for i in range(5):
  for j in range(5):
    print(letters[i]+letters[j])
    
# If you mean use the characters only once in the strings, then this block does that
print('\n') # just a blank line to separate the two groups of strings

letters = ['a', 'e', 'i', 'o', 'u']

for i in range(5):
  for j in range(5):
    if i != j:
      print(letters[i]+letters[j])<jupyter_output>aa
ae
ai
ao
au
ea
ee
ei
eo
eu
ia
ie
ii
io
iu
oa
oe
oi
oo
ou
ua
ue
ui
uo
uu


ae
ai
ao
au
ea
ei
eo
eu
ia
ie
io
iu
oa
oe
oi
ou
ua
ue
ui
uo<jupyter_text>2.  Write a Python program to calculate number of days between two dates<jupyter_code># TODO code here 

from datetime import datetime

print('Please enter the start date in the format of the following example: Jun 1 2005')
start_date = input()
start_date = datetime.strptime(start_date, '%b %d %Y')

print('Please enter the end date in the format of the following example: Jun 1 2005')
end_date = input()
end_date = datetime.strptime(end_date, '%b %d %Y')

print ('Difference = ' + str(end_date - start_date))<jupyter_output>Please enter the start date in the format of the following example: Jun 1 2005
Jan 1 2000
Please enter the end date in the format of the following example: Jun 1 2005
Jan 2 2000<jupyter_text>3. Write a Python program to get the difference between a given number and 17, if the number is greater than 17 return double the absolute difference.<jupyter_code># TODO code here 

num = input()

num = float(num)
num = 17 - num

if num < 0:
  num = 2*abs(num)
  return num<jupyter_output>20
6.0<jupyter_text>Stretch Goals  4. Write a Python program to find whether a given number (accept from the user) is even or odd, print out an appropriate message to the user.<jupyter_code># TODO code here 

number = input()

number = float(number)

number = number%2

if number == 0:
  print('Even!')
  
else:
  print('Odd!')<jupyter_output>122
Even!<jupyter_text>5. Write a Python program to display your details like name, age, address in three different lines.<jupyter_code># TODO code here 

# Getting name
print('Please input your name')
name = input()

# Getting age
print('Please input your age')
age = int(input())

# Getting address
print('Please input your address')
address = input()

# Printing info with each detail on a new line
print(name+'\n'+str(age)+'\n'+address)<jupyter_output>Please input your name
Scott
Please input your age
25
Please input your address
address
Scott
25
address
{'fraction_non_alphanumeric': 0.09550760523523169, 'fraction_numerical': 0.02122391227449593, 'mean_word_length': 4.305816135084428, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '301976', 'license': 'MIT', 'n_tokens_mistral': 990, 'n_tokens_neox': 929, 'n_words': 420, 'path': 'Scott_Huston_Coding_Challenge_7_10.ipynb', 'repo_name': 'Scott-Huston/DS-Unit-1-Sprint-1-Dealing-With-Data', 'size': '2827'}