i am writing program, please correct it
from  sage.crypto.boolean_function import BooleanFunction
R.<x,y,z>=BooleanPolynomialRing(order='lex')
def shift( S, h ):
    (x,y,z)=S
    h=x+y+z
    (x,y,z )=( y,z,h )
    return S
S=(x,y,z)
for i in range(2):
    SS=shift(S)
    S=SS
    print S
but the problem is after first round it is not shifting
On Saturday, August 26, 2017 at 1:46:17 AM UTC+5:30, sant...@niser.ac.in 
wrote:
>
> i am new in sage. and i want to define an array of dimension 79 and every 
> time i want to save a new value in each array shell i.e. for i in range(79) 
> a[i]= any value and also i want define a vector. can you help me out?
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to