<reponame>Team445craft/Python-SAVY<gh_stars>0
import random


# Name: <NAME>
# Date: July 2017
# SAVY Project
# 01: A Simple Program
# This program asks the user for his/her name and age.

print " "
print "Welcome to Age Calculator! Last updated July 2017. \nBy <NAME>"
print " "
t = raw_input("You need to answer a few questions in order to continue.\nPress ENTER")
c = int(0)
# Name
print " "
n = raw_input("Please tell me your first name: ")

# Get age with var a
a = int(raw_input("Please tell me your age: "))

# Have you had a birthday yet this year?
z = raw_input("Have you had a birthday yet this year (yes or no):")
if z == "yes":
    c = 99
elif z == "no":
    c = 100
else:



my_str1 = str(n)
my_str2 = my_str1[0]
my_str3 = my_str2.upper()
my_str4 = my_str1[1]
my_str5 = my_str4 + my_str1[2]
my_str6 = my_str5 + my_str1[3]
my_str7 = my_str3 + my_str6
m = my_str7
print " "
print "Welcome, " + my_str7 + "!"

# Tell the age
print " "
print m + " will be 100 years old in the year:"
print (c - int(a)) + 2017

print m + " was born around the year:"
print 2017 - int(a)

print m + "'s random number:"
r = random.randit(0,10)
print r

# a = age before b-day
# n = name before m
# m = name after m

import random


# Name: <NAME>
# Date: July 2017
# SAVY Project
# 01: A Simple Program
# This program asks the user for his/her name and age.

print " "
print "Welcome to Age Calculator! Last updated July 2017. \nBy <NAME>"
print " "
t = raw_input("You need to answer a few questions in order to continue.\nPress ENTER")
c = int(0)
# Name
print " "
n = raw_input("Please tell me your first name: ")

# Get age with var a
a = int(raw_input("Please tell me your age: "))

# Have you had a birthday yet this year?
z = raw_input("Have you had a birthday yet this year (yes or no):")
if z == "yes":
    c = 99
elif z == "no":
    c = 100
else:



my_str1 = str(n)
my_str2 = my_str1[0]
my_str3 = my_str2.upper()
my_str4 = my_str1[1]
my_str5 = my_str4 + my_str1[2]
my_str6 = my_str5 + my_str1[3]
my_str7 = my_str3 + my_str6
m = my_str7
print " "
print "Welcome, " + my_str7 + "!"

# Tell the age
print " "
print m + " will be 100 years old in the year:"
print (c - int(a)) + 2017

print m + " was born around the year:"
print 2017 - int(a)

print m + "'s random number:"
r = random.randit(0,10)
print r

# a = age before b-day
# n = name before m
# m = name after m
# Name: <NAME> # Date: July 2017 # SAVY Project # 01: A Simple Program # This program asks the user for his/her name and age. # Name # Get age with var a # Have you had a birthday yet this year? # Tell the age # a = age before b-day # n = name before m # m = name after m