Computer Science, asked by Anonymous, 12 hours ago

Rewrite the complete Python script after replacing the while-loop with a for-loop. astr=input('Input a string? ')) c, s=-1, "" while True: c+=1 if c==len(astr): break s+=astr[k] print(s) What will be the output when inputted value of astr is BOWL? [2] 23. Give the output of the Python script given below: [2] neta, netb='CoMpUtEr', "" for k in range(8): if neta[k].isupper(): ch=neta[k].lower() elif neta[k].islower(): if k%2: ch=neta[k-1] else: ch=neta[k].lower() netb+=ch print(netb) 24. Give the output of the Python script given below: [3] alist=[469, 378, 594, 678, 253] for number in alist: x, y=number%100, number//10 print(x+y, end='@')

Wait let me calculate
so
free=0
and 1₹= 1
and 1 is greater than 0

:l
so I cannot give 1₹ too​

Answers

Answered by мααɴѕí
2

Answer:

Rewrite the complete Python script after replacing the while-loop with a for-loop. astr=input('Input a string? ')) c, s=-1, "" while True: c+=1 if c==len(astr): break s+=astr[k] print(s) What will be the output when inputted value of astr is BOWL? [2] 23. Give the output of the Python script given below: [2] neta, netb='CoMpUtEr', "" for k in range(8): if neta[k].isupper(): ch=neta[k].lower() elif neta[k].islower(): if k%2: ch=neta[k-1] else: ch=neta[k].lower() netb+=ch print(netb) 24. Give the output of the Python script given below: [3] alist=[469, 378, 594, 678, 253] for number in alist: x, y=number%100, number//10 print(x+y, end='@')

Explanation:

you said your sister is having ₹1000

you can borrow from her

# take help from your

sister

Answered by Anonymous
1

Answer:

The ages of Rakesh and Roshan are in the ratio 4:5. Four years from now, the ratio of their ages will be 9:11. Find their present ages.

Similar questions