私はいくつかのエラーを修正する方法がわからないので、私は非常に新しいコーディングです。 本当に助けていただきありがとうございます。数字のゲームを推測する
#Author : John Smith
#Date : 3/19/17
#
#Guess the number game
#1 Player vs. Computer
import random
minGuess = 1
maxGuess =6
#Ask the user for their name and their guess
name = input("What is your name")
print("Hi + name")
print("Enter a number between: " +minGuess + " and " + maxGuess)
guess = int(input("what is your guess?"))
#Generate a random number and tell the user if they have won or lost
secretNumber = random.randint(minGuess, maxGuess)
if (guess != ??????)
print("congratz you got it right")
else:
print("You loose the number was ???")
print("Thankyou for playing guess the number.")
実行時にエラーが発生します。 –