Skip to content
Sign UpLog In
Profile icon

Trevor Klein

@TrevorKlein
Repls
Community
TrevorKlein
TrevorKlein
shared a Post
4 years ago
Python 3.6.1 class
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.
TrevorKlein
TrevorKlein
shared a Post
4 years ago
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
timmy_i_chen
timmy_i_chen
You should put it in a repl and share the repl with us :)4 years ago
TrevorKlein
TrevorKlein
shared a Post
4 years ago
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
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