Soru 20 For a string with the value "algol", what will be returned by the function below? find("i") Yantnz: 1 1.3 O Error Yaniti temizle Geri Sonraki Soru 21 What will be the output for the following code segment? my_sentence =" i run each make is tea your sun i run each" my_sentence = my_sentence.replace("irun"."chai") print(my_sentence) Yantnz: O i run each make is tea your sun i run each O chai each make is tea your sun chai each chai each make is tea your sun i run each Error / None of the above Yaniti temizle Geri Sonraki amak iin buraya yazn Soru 22 Assuming that the following function is defined properly: def pass_it(x, y, e, s): print(x, y, end-e, sep=s) What will be the result of the following function call if num1 is set to "A" and num2 set to "B"? pass_it(num2, numi, " ", "-") PS. In case you don't see the picture of the function, here is the link https://pasteboard.co/1B1b540.png Yantnz: OB-A O A-B A- B- B- A- Yaniti temizle Geri Sonraki amak iin buraya yazn 01 - 10 11 Soru 23 What will be the output of the following code segment? var = 100 def outer: b = 200 def inner : C = 300 print(c) Yanitiniz: 100 O 200 @ 300 Error Yaniti temizle Geri Sonraki Kalan sure: 80:12 01-10 11-20 21 22 23 24 Soru 24 In a string named city with the value besiktas what will the following slice give? -- [-4:-1:-1] Yanitiniz: Okta Oktas Sat Empty String Yaniti temizle Geri Sonraki Soru 25 Suppose that its initially set to 5 and the user enters 1 for the input. What will be the output of the following code segment? n - int(input("Enter a value: ")) while i can: print(1. sep".") PS. In case you don't see the picture here is the link https://oasteboard.co/AGZIVU.png Yanitiniz: O 0.1-2-3-4-5- O 0-1-2-3-4 0 1 2 3 4 nothing Yanuti temizle EN1011 (1-9)-(901-914) Int... Soru 26 What will be the output of the following code segment? def fi(a =3, b = 2, c = 1): if a > b: return a,b,c elif b > c: return b,a.c else: return c.b.a print("bye") a, b, c = f10 print(":", c) Yantnz: C: 1 C: 3 C: 3 bye bye C: 3 Yaniti temizle Soru 27 What will be the output of the following code if the user enters 0. 1, and 2 at the first 3 prompts try: while True: a = int(input("Enter a number: ")) print(a / 0) except Zero Division Error: print("cannot divide by 0") except ValueError: print("input must be an integer") except: print("unknown error") finally: print("program finished") Yantnz: cannot divide by o program finished 0 1 2 O cannot divide by 0 unknown error program finished Yaniti temizle Soru 28 A number should be converted to string before writing it to the file. Yantnz: O True O False Yaniti temizle Geri Sonraki Soru 29 How many times does the following nested loop repeat itself? for ain range (3): for bin range (4): Yantnz: O 3 o 4 7 none of the above Yaniti temizle Geri Sonraki