PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
print("Welcome to my program!")
name = input("What is your name?: ")
print("Hello " + name + "!")
favorite_color = input("What is your favorite color? ")
print("No way! " + favorite_color + " is my favorite color too!")
favorite_food = input("Here is a better question... What is your favorite food? ")
print("You know what? " +
favorite_food + " would be my favorite, but none of my ports are compatible...")
name = input("What was your name again?: ")
print("Oh yeah... Nice to meet you! My name is " + name + "ita! What are the chances? I guess the reason I forgot your name is becauase i'm pretty low on RAM. I've been doing a lot of work lately for the other user on this heap of junk.'")
age = input("Wait, how old are you? ")
if int(age) < 10:
print("Your a bit young to be on a computer? ")
elif int(age) > 60:
print("Do you know how to run this thing, you're kinda old?")
x =input("Enter your desired password...Numbers only.")
y = input("Enter your password again.")
if y != x:
print("Error, input not identical try again...")
print("Okay, let's try to login.'")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run