def fun():
a,b=0,1 ---> Define Variables
while b<10: Using While Loop
yield b -- Using Generator Yiled Hear
a,b=b,a+b -- Logic Of Fab
i2=fun() -- Creating object
for i in i2: ---> Using loop
print(i,end=" ")
Output:
1 1 2 3 5 8
Subscribe to:
Post Comments (Atom)
Using generator producing Fibonacci numbers
def fun (): a,b= 0 , 1 ---> Define Variables while b< 10 : Using While Loop yield b -- Using Generator Yiled H...
-
performance tunning in talend..... 1.Tparalleize :- When a Job consists of several sub jobs (tRunjob component), we might want to execu...
-
Put File Mask on tFileList Component dynamically in Talend How I can set file mask for tFilelist component in Talend that it recogniz...
-
The Out of Memory Error and Java Heap Space Error are two of the usual errors which occur in the Talend jobs handling a large volume of da...
No comments:
Post a Comment