print, Print output to screen, else, Executes if the conditional expression in the if statement resolves to false, IF statement, Tests a condition and executes code based on the result, variable, A box that stores data until it is needed, #, This symbol is used to comment on code. , input(), This gets user input, count = 0, An example of a named variable called count, String, can have letters numbers and symbols, integer, whole number, real, decimal number, arithmetic operator, enables you to do sums (e.g plus, times ), >, greater than, ==, equal to, =, assign a variable, !=, not equal to, <=, less than or equal to, num = 5, variable storing an integer, name = "Sophie", variable storing a string, avg_score = 56.6, variable storing a real number, relational operator, enables you to compare two pieces of data.
0%
Python concepts (2)
Udostępnij
Udostępnij
Udostępnij
autor:
Buscomp
Secondary
Computing
Programming Fundamentals
Programming Techniques
Edytuj elementy
Drukuj
Osadź
Więcej
Zadania
Tabela rankingowa
Pokaż więcej
Pokaż mniej
Ta tabela rankingowa jest obecnie prywatna. Kliknij przycisk
Udostępnij
, aby ją upublicznić.
Ta tabela rankingowa została wyłączona przez właściciela materiału.
Ta tabela rankingowa została wyłączona, ponieważ Twoje opcje różnią się od opcji właściciela materiału.
Przywróć poprzednie opcje
Przebij balon
jest szablonem otwartym. Nie generuje wyników w tabeli rankingowej.
Wymagane logowanie
Motyw
Czcionki
Wymagany abonament
Opcje
Zmień szablon
Pokaż wszystko
Więcej formatów pojawi się podczas wykonywania ćwiczenia.
Otwórz wyniki
Kopiuj link
Kod QR
Usuń
Przywrócić automatycznie zapisane ćwiczenie:
?