File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ test('When the code split is loaded - SyntaxHighlighter renders jsx highlighted
5252 < SyntaxHighlighter language = "javascript" style = { prism } >
5353 { `import React from "react";
5454 import uniquePropHOC from "./lib/unique-prop-hoc";
55-
55+
5656 class Expire extends React.Component {
5757 constructor(props) {
5858 super(props);
Original file line number Diff line number Diff line change @@ -60,33 +60,33 @@ ans = True
6060
6161while ans:
6262 question = raw_input("Ask the magic 8 ball a question: (press enter to quit) ")
63-
63+
6464 answers = random.randint(1,8)
65-
65+
6666 if question == "":
6767 sys.exit()
68-
68+
6969 elif answers == 1:
7070 print "It is certain"
71-
71+
7272 elif answers == 2:
7373 print "Outlook good"
74-
74+
7575 elif answers == 3:
7676 print "You may rely on it"
77-
77+
7878 elif answers == 4:
7979 print "Ask again later"
80-
80+
8181 elif answers == 5:
8282 print "Concentrate and ask again"
83-
83+
8484 elif answers == 6:
8585 print "Reply hazy, try again"
86-
86+
8787 elif answers == 7:
8888 print "My reply is no"
89-
89+
9090 elif answers == 8:
9191 print "My sources say no"
9292 ` }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ test('When the code split is loaded - SyntaxHighlighter renders jsx highlighted
5151 < SyntaxHighlighter language = "jsx" style = { prism } >
5252 { `import React from "react";
5353 import uniquePropHOC from "./lib/unique-prop-hoc";
54-
54+
5555 class Expire extends React.Component {
5656 constructor(props) {
5757 super(props);
You can’t perform that action at this time.
0 commit comments