This is a fibonnaci sequence generator, the colon causes a syntax error
#set variables
num_1 = 1
num_2 = 2
count = 0
terms = int(input("How many terms of the fibonnaci sequence would you
like?")
#function
while terms != count :
num_3 =num_1+num_2
print (num_3)
num_1=num_2
num_2
15 at 4:08 PM, Job wrote:
> #i would do it this way in python2
> #maybe you can use as reference
>
> time = int(raw_input('x'))
>
> If time => 2:
> print 'y'
> else:
> print 'z'
>
> Good luck,
>
> Job
>
> > On
I have written a basic program out of python and it is not functioning,
please could you proof read my code and tell me how to fix it.It is in
python 3.3
time=int(input("How long on average do you spend on the computer per day?")
(print("that seems reasonable")) if time<=2
else print ("get a life"