repl.it
@rohitkarthik/

Question Game-1

Python 2.7

No description

fork
loading
Files
  • main.py
  • main3.py
main.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
print ("What is your name?")
myName = raw_input()
print ("I would like to have you as a friend " + myName)
print ("What is your age?")
myAge = raw_input()
print ("You are " + myAge + "? That's nice... I am 29")
print ("What do you like to do the most, " + myName)
myFavorite = raw_input()
print ("That sounds fun. Aw, I'm a computer, so I can't do any of that stuff. What other things do you like to do?")
myLike = raw_input()
print ("Nice")
print ("Do you think homework's fun?")
myHomework = raw_input()
print ("Homework isn't fun at all.")
print ("Do you think I have a miserable life as a computer?")
myComputerFun = raw_input()
print ("You say " + myComputerFun + "? I say yes.")
print ("Which programming language do you use the most?")
myAnswer = raw_input()
print ("You use " + myAnswer + "? This game is programmed with Python.")
print ("Oops, I forgot to introduce myself. My name is HP Probook. Have you been liking the game so far?")
myAnswer1 = raw_input()
print ("You have been a good friend.")
print ("Type a random question here ")
myAnswer2 = raw_input()
print (myAnswer2)
myAnswer3 = raw_input()
print ("That is weird.")
print ("I'm getting bored. Tell me what to do")
print ("1 = Play a game")
print ("2 = Read to you")
print ("3 = Explore things that are on me")
myAnswer4 = raw_input()
if myAnswer4 == "1":
  print ("Okay, let's play")
  print ("This game is a 2 person gun game")
  print ("You will need to change the settings to make me play with you.")
  print ("Copy and paste this link into my browser and play.")
  print ("https://scratch.mit.edu/projects/139025103/#fullscreen")
elif myAnswer4 == "2":
  print ("Sure, let's read")
  print ("Copy and paste the link into my web browser")
  print ("http://www.read.gov/books/")
else:
  print ("Why not?")
  print ("Just click the flag on the bottom left corner and explore")
print ("GAME OVER")
Fetching token
?