Шукаєте відповіді та рішення тестів для Programmierung (BTW2102) 25/26? Перегляньте нашу велику колекцію перевірених відповідей для Programmierung (BTW2102) 25/26 в moodle.bfh.ch.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
Was ist die Ausgabe des folgenden Codes?
What is the output of the following code?
num1 = "5"num2 = 3result = num1 * num2print(result)
Was ist die Ausgabe des folgenden Codes?
What is the output of the following code?
x = "5"y = "2"print(x + y)
Was ist die Ausgabe des folgenden Codes?
What will the following code output?
numbers = [3, 7, 2, 8, 5]
for i in range(len(numbers)): num = numbers[i] if i == num: break print(num, end=' ')
Was ist das Resultat?
What will be the result?
d1 = {'GFG' : 1, 'Google' : 2, 'GFG1' : 3}print(d1['GFG1'])
Was wird der folgende Code ausgeben?
What will the following code output?for i in range(3): for j in range(2): print(i, j)
Was ist das Resultat von:What will be the output of:d = {'a': 5, 'b': 10}d['a'] = 15print(d)
Was passiert, wenn in einem Python-Programm eine Ausnahme ausgelöst wird, aber nicht abgefangen wird?
What will happen if an exception is raised but not caught in a Python program?
Was macht folgender Code?
What does the following code snippet do?
with open("file.txt", "a") as file: file.write("WING data")
Was wird der folgende Code ausgeben?What will the following code output?
numbers = [1, 2, 3, 4, 5]for i in range(len(numbers) - 1, -1, -1): print(numbers[i], end=' ')
Welcher der folgenden Codeausschnitte öffnet eine Datei namens „example.txt“ im Schreibmodus und schreibt „Hello, World!“ hinein?
Which of the following code snippets opens a file named "example.txt" in write mode and writes "Hello, World!" to it?