Computer Science, asked by sidr5715, 4 hours ago

Find the output :

a = 'LIst & TuPle'

a1 = ''

for i in range(0,len(a)):

if a[i].isspace():

a1 = a1 + str(a.index(a[i]))

elif a[i].isalpha():

a1 = a1 + a[i].upper()

else:

a1 = a1 + '$$'

print(a1)

2​

Answers

Answered by manya057111
2

Answer:

Total distance, S=100meter

First three quarter, S

1

=75m

Second quarter, S

2

=25m

Acceleration, a=1ms

−2

Initial velocity, u=0

s=ut+

2

1

at

2

t

1

=

a

2S

1

=

2×75

=5

6

sec

Velocity achieve in 3

rd

quarter. v

1

=u+at=5

6

ms

−1

In last one fourth quarter,

t

2

=

v

S

2

=

5

6

25

=

6

5

sec

Total time is T=t

1

+t

2

=5

6

+

6

5

=

6

35

sec

(a) Time to cover first half

S

3

=ut

3

+

2

1

at

3

2

t

3

=

a

2S

3

=

2×50

=10sec

(b) Time to cover second half, t

4

=T−t

3

=

6

35

−10=4.288sec

Similar questions