Trevor Klein
@TrevorKlein
How, if I can get all the answers to the class of python 3.6.1. I am very confused on how to do that.
import math
x = int(input(" "))
phi = 1.61803399
sqrt5 = math.sqrt(5)
def F(n):
return int((phin - (1-phi)n) / sqrt5)
def isFibonacci(z):
retu
If it is possible in python 3.6.1 how do I make a multichoice video game that can have two different ways to go down, like zork because if you make
Geocube101 you can use input() to get user input and an if else statement to execute code based off the input.
action = input('Action: ')
if action == #Some String:
#Some Code
elif action == #Some Other String:
#Some More Code
else:
#Even More Code
`4 years ago