No student devices needed. Know more
15 questions
Co to jest Python?
język programowania
edytor tekstowy
system operacyjny
Do wyświetlania tekstu służy polecenie:
print()
input()
lower()
upper()
Do wczytania danych z klawiatury służy polecenie:
print()
input()
if ... else...
lower()
Co będzie wynikiem kodu:
print("x")
wyświetli się: x
błąd
utworzenie zmiennej
wyświetli się: X
Co wyświetli się na ekranie:
x=1
y=2
y = x+y
print(y)
12
3
błąd
y
Słowo kluczowe else oznacza
zawsze
w przeciwnym wypadku
jeżeli
wyświetl na ekranie
Do czego służy metoda lower()
zamienia tekst na wielkie litery
wyświetla tekst na ekranie
zapamiętuje zmienną
zamienia tekst na małe litery
Co wyświetli się na ekranie:
tekst = "JaK mAsZ na IMIĘ"
x = tekst.lower()
print(x)
x
JaK mAsZ na IMIĘ
jak masz na imię
JAK MASZ NA IMIĘ
Do czego służy metoda upper()
zamienia tekst na małe litery
zamienia tekst na wielkie litery
wyświetla na ekranie tekst
zapamiętuje zmienną
Co wyświetli się na ekranie:
tekst = "Czy LUBISZ nutellę"
x = tekst.upper()
print(x)
x
CZY LUBISZ NUTELLĘ
czy lubisz nutellę
Czy LUBISZ nutellę
Co wyświetli się na ekranie po wykonaniu kodu:
b jest większe od a
a jest większe od b
200 jest większe od 33
33 jest większe od 200
Co będzie wynikiem kodu:
print(x)
wyświetli się print(x)
wyświetli się
X
wyświetli się
x
błąd
Co wyświetli program po wpisaniu przez użytkownika TAK (z wielkich liter) na klawiaturze:
błąd
To ciekawe
Ja też
nic
Co wyświetli program po wpisaniu przez użytkownika TAK (z wielkich liter) na klawiaturze:
błąd
Ja też
To ciekawe
nic
Co wyświetli program po wpisaniu przez użytkownika odpowiedzi TAK
błąd
Ja też
To ciekawe
nic
Explore all questions with a free account