-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWordSearch.py
More file actions
150 lines (108 loc) · 2.48 KB
/
WordSearch.py
File metadata and controls
150 lines (108 loc) · 2.48 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
print("python terms")
puzzle = """
fjvfloatdy
yopxednins
mspfycnnal
xeaeeukgei
slufryprlc
abeeiagcoi
buclqttbon
gojlivxobg
admyahgerj
stringwvrs
"""
print(puzzle)
print("word list")
word_list = "float, while, if, boolean, doubled, operators, string, slicing, index"
print (word_list)
word1_length = len("float")
word2_length = len("while")
word3_length = len("if")
word4_length = len("boolean")
word5_length = len("double")
word6_length = len("operators")
word7_length = len("string")
word8_length = len("slicing")
word9_length = len("index")
word1 = input("enter the index position of float: ")
i = 0
foundword = ""
while i < word1_length:
index = word1[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word2 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word2_length:
index = word2[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word3 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word3_length:
index = word3[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word4 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word4_length:
index = word4[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word5 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word5_length:
index = word5[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word6 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word6_length:
index = word6[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word7 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word7_length:
index = word7[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word8 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word8_length:
index = word8[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
word9 = input("enter the index position of while: ")
i = 0
foundword = ""
while i < word9_length:
index = word9[i]
index = int(index)
foundword = foundword + puzzle[index + 1]
i+=1
print(foundword)
input("press enter to exit")