Типова телефонна розмова складається з двох етапів: початковий, завершальний.
What does the following print to the console.
sum = 0
counter = 0
numbers = [22, 55, 111, 555]
while numbers[counter] < 100:
sum = sum + numbers[counter]
counter = counter + 1
print(sum)
void-Funktionen müssen einen Rückgabewert haben, welcher mit return zurückgegeben wird.
Variablen, die lokal in einer Funktion deklariert sind, können nicht im Hauptprogramm genutzt werden.
What is the output of the following list function?
sampleList = [10, 20, 30, 40, 50]
sampleList.append(60)
print(sampleList)
sampleList.append(60)
print(sampleList)