Computer Science, asked by dhanyasajeevalex, 3 months ago

when we run a python program the output will be seen in the​

Answers

Answered by mogankeerthana
1

Answer:

the out put is done using print()

Answered by iamaniket85
2

Answer:

1 sum = 0 for i in range(12,2,-2): sum+=i print sum.

2 n=50 i=5 s=0 while i<n: s+=i i+=10 print "i=",i print "sum=",s.

3 List=[1,6,8,4,5] print List[-4:]

4 L=[100,200,300,400,500] L1=L[2:4] print L1 L2=L[1:5] print L2 L2. extend(L1) print

Similar questions