1) Python uses the bracket to separate different code blocks a) True b) False 2) Which of the following expression will evaluate to False a) not (5 < 4) b) (5 > 4) and (3 == 3) c) (5 > 4) or (3 == 5) d) bool(0) 3) Python provides the following two iteration statements a) for each and while b) do while and for each c) while and for d) do while and for 4) Given a=10; b=20. What is the result of the following statement: a if a < b else b a) 10 b) True c) 20 d) Syntax error 5) Which of the following object will produce different result in a for loop? a) range(5) b) range(0,4) c) range(0,5) d) range(0,5,1)

Výsledková tabule/Žebříček

Vizuální styl

Možnosti

Přepnout šablonu

Obnovit automatické uložení: ?