forked from CodingTutorials/Python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComputer
More file actions
85 lines (81 loc) · 3.31 KB
/
Computer
File metadata and controls
85 lines (81 loc) · 3.31 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
from time import sleep
Username = ""
Password = ""
attempts = 0
while Username != "USER" or Password != "PASS":
if attempts >0:
print ("Wrong username or password")
attempts += 1
print("What's Username?")
Username = input()
print("Whats Password?")
Password = input()
if Username == "USER" and Password == "PASS":
print("Starting Computer")
sleep(1.0)
print("Loading...")
sleep(1.0)
Computer = 1
Computer_help = 0
while Computer == 1:
print("Loading...")
Computer_help += 1
sleep(1.0)
if Computer_help == 4:
Computer = 2
while Computer == 2:
print("Enter Internet")
inp = input()
if inp == "Internet":
Internet_help = 1
Computer = 3
Searchingin = 0
while Searchingin == 0:
if Computer == 3:
if inp == "Internet":
sleep(1.0)
print("What do you want to search for?")
Searching = input()
print("Searching for : "+Searching)
if Searching == "Google":
sleep(1.0)
print("Going to Google")
Searchingin = 0
elif Searching == "List":
sleep(1.0)
print("Google, Minecraft, Gmail, Shut Down")
Searchingin = 0
elif Searching == "Shut Down":
sleep(1.0)
print("Shutting Down")
Searchingin = 1
elif Searching == "Minecraft":
sleep(1.0)
print("Opening Minecraft")
Searchingin = 0
elif Searching == "Gmail":
sleep(1.0)
print("Opening gmail")
gmail = 1
Searchingin = 0
if gmail == 1:
sleep(1.0)
print("Enter Send or check")
gmail = input()
if gmail == "Send":
print("What's email?")
whatsemail = input()
print("What's name?")
whatsname = input()
print("What's message")
whatsmessage = input()
print ("Sending to:",whatsemail,"Name is:",whatsname,"Message:",whatsmessage)
else:
sleep(1.0)
print("No results found, click enter to try again")
Searchinginput = input()
if Searchingin == "No results found, click enter to try again":
Searchingin = 0
while Searchingin == 1:
print("Shutting Down")
Searchingin = 0