What is the output of the following
x = "abcdef"
i = "a"
for i in x:
print(i),

a) no output
b) i i i i i i …
c) a a a a a a …
d) a b c d e f


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

write a sql qwery which include joining of two tables 4 marks mainframe

0 Answers  


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box. eg: 3 box contain stick as:1,1,1. if u take 1 stick from 3rd numbred box you will any how win the match.

0 Answers   Manhattan,


what is posix?

1 Answers   HCL,


How same session variable can be used in both Asp and Asp.net?

1 Answers   Wipro,


which one is the best practice using synchronization method or synchronization block

1 Answers   TCS,






how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?

0 Answers  


Full from of MP3?

2 Answers  


Hi guys... I have one doubt ..Exception is a runtime error then why we have checked exception... Thanks in advance

2 Answers  


Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming

1 Answers  


HOW TO BREAK THE FIREWALL?

0 Answers   ME,


How many ways we can fill a dataset in .Net

1 Answers   iGate,


class A{ void me(){s.o.p("");} class B extends A{ void me() {s.o.p(" ");} class M{ A a=new B(); B b=new A(); a.me(); b.mne();} what is the output of this, how?

2 Answers   Cosmos, HyTech Pro, WinSoft,


Categories