# 4.13.3: Greetings
# Connor
#2.5.19

name = input("What is your name:  ")

def greeting():
    print ("Hi there " + name + "!")
    print("Nice to meet you")

greeting()


#4.13.4: Functions and Variables
# Connor
#2.11.19

x = 10

def print_something():
    x = 3
    print('\r\n', x)

print('\r\n', x)
print_something()





# 4.13.6: Functions and variable, Part 3
# Connor
#2.18.19

def print_number(x):
	print('\n', x)

print_number(13)
print_number(23)


# 4.14.4: Name and Age
# Connor
# 2.18.19

def name_and_age(name, age):
	print('Hi, my name is', name, 'and i am', age, 'years old!')

name_and_age('Mike', 33)
name_and_age('Zane', 18)

# 4.14.5: Default Parameter Values
# Connor
# 2.19.19

def print_two_numbers(x, y = 20):
	print('First number: ', x)
	print('Second number: ' + str(y))


print_two_numbers(34, 45)
print_two_numbers(78)


# 4.14.6: Print sum
# Connor
# 2.19.19

def print_sum(x, y):
	print(x + y)

print_sum(48, 2345)



# 4.14.7: Print Multiple Times
# Connor
# 2.19.19

def print_multiple_times(string, times):
	for i in range(times):
		print(string)


print_multiple_times('Hey there Computer Scientist' ,10)



# 4.14.4: Name and Age
# Connor
# 2.18.19

def name_and_age(name, age):
	print('Hi, my name is', name, 'and i am', age, 'years old!')

name_and_age('Mike', 33)
name_and_age('Zane', 18)



# 4.14.5: Default Parameter values
# Connor
# 2.19.19

def print_two_numbers(x, y = 20):
	print('First number: ', x)
	print('Second number: ' + str(y))
2f1be77b33d458653a9802e4e5da30b3b5031139
<mask token>


def print_something():
    x = 3
    print('\r\n', x)


<mask token>


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


<mask token>


def print_sum(x, y):
    print(x + y)


<mask token>


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


<mask token>


def print_two_numbers(x, y=20):
    print('First number: ', x)
    print('Second number: ' + str(y))

<mask token>


def print_something():
    x = 3
    print('\r\n', x)


<mask token>


def print_number(x):
    print('\n', x)


<mask token>


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


<mask token>


def print_two_numbers(x, y=20):
    print('First number: ', x)
    print('Second number: ' + str(y))


<mask token>


def print_sum(x, y):
    print(x + y)


<mask token>


def print_multiple_times(string, times):
    for i in range(times):
        print(string)


<mask token>


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


<mask token>


def print_two_numbers(x, y=20):
    print('First number: ', x)
    print('Second number: ' + str(y))

<mask token>


def greeting():
    print('Hi there ' + name + '!')
    print('Nice to meet you')


<mask token>


def print_something():
    x = 3
    print('\r\n', x)


<mask token>


def print_number(x):
    print('\n', x)


<mask token>


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


<mask token>


def print_two_numbers(x, y=20):
    print('First number: ', x)
    print('Second number: ' + str(y))


<mask token>


def print_sum(x, y):
    print(x + y)


<mask token>


def print_multiple_times(string, times):
    for i in range(times):
        print(string)


<mask token>


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


<mask token>


def print_two_numbers(x, y=20):
    print('First number: ', x)
    print('Second number: ' + str(y))

name = input('What is your name:  ')


def greeting():
    print('Hi there ' + name + '!')
    print('Nice to meet you')


greeting()
x = 10


def print_something():
    x = 3
    print('\r\n', x)


print('\r\n', x)
print_something()


def print_number(x):
    print('\n', x)


print_number(13)
print_number(23)


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


name_and_age('Mike', 33)
name_and_age('Zane', 18)


def print_two_numbers(x, y=20):
    print('First number: ', x)
    print('Second number: ' + str(y))


print_two_numbers(34, 45)
print_two_numbers(78)


def print_sum(x, y):
    print(x + y)


print_sum(48, 2345)


def print_multiple_times(string, times):
    for i in range(times):
        print(string)


print_multiple_times('Hey there Computer Scientist', 10)


def name_and_age(name, age):
    print('Hi, my name is', name, 'and i am', age, 'years old!')


name_and_age('Mike', 33)
name_and_age('Zane', 18)


def print_two_numbers(x, y=20):
    print('First number: ', x)
    print('Second number: ' + str(y))

# 4.13.3: Greetings
# Connor
#2.5.19

name = input("What is your name:  ")

def greeting():
    print ("Hi there " + name + "!")
    print("Nice to meet you")

greeting()


#4.13.4: Functions and Variables
# Connor
#2.11.19

x = 10

def print_something():
    x = 3
    print('\r\n', x)

print('\r\n', x)
print_something()





# 4.13.6: Functions and variable, Part 3
# Connor
#2.18.19

def print_number(x):
	print('\n', x)

print_number(13)
print_number(23)


# 4.14.4: Name and Age
# Connor
# 2.18.19

def name_and_age(name, age):
	print('Hi, my name is', name, 'and i am', age, 'years old!')

name_and_age('Mike', 33)
name_and_age('Zane', 18)

# 4.14.5: Default Parameter Values
# Connor
# 2.19.19

def print_two_numbers(x, y = 20):
	print('First number: ', x)
	print('Second number: ' + str(y))


print_two_numbers(34, 45)
print_two_numbers(78)


# 4.14.6: Print sum
# Connor
# 2.19.19

def print_sum(x, y):
	print(x + y)

print_sum(48, 2345)



# 4.14.7: Print Multiple Times
# Connor
# 2.19.19

def print_multiple_times(string, times):
	for i in range(times):
		print(string)


print_multiple_times('Hey there Computer Scientist' ,10)



# 4.14.4: Name and Age
# Connor
# 2.18.19

def name_and_age(name, age):
	print('Hi, my name is', name, 'and i am', age, 'years old!')

name_and_age('Mike', 33)
name_and_age('Zane', 18)



# 4.14.5: Default Parameter values
# Connor
# 2.19.19

def print_two_numbers(x, y = 20):
	print('First number: ', x)
	print('Second number: ' + str(y))