What is wrong with this line of code after the . Print ('My name is Fred'), The wrong type of speech marks, Doesn't need brackets, Capital letter for P in Print, A variable is a , memory location that can store a value that can be changed during the running of the program, a value that can go up or down, Can only be whole numbers or decimals, If you miss a bracket out of a simple print statement, the type of error message is , name error, syntax error, syntax error unterminated string literal, If you spell input wrong and put imput, what error do you think will occur, name error, syntax error, syntax error unterminated string literal, When you fix errors you are __________ your program, debunking, debussing, debugging, A comment symbol in python code is a , /, |, #, There are 2 modes for python programming. They are, editor and runtime, white mode and black mode, IDE and DLE, There is an error in the code after the . name = input('what is your name?') print ('My name is ' +name'), should be input = name, put a comma after the 2nd bracket, take out the last speech mark, One rule for naming variables is it must start with a capital letter, True, False, If you needed to create a variable for price of a sandwich e.g. £1.50 then you would need to use this datatype, integer, real, boolean.
0%
Year 9 CS Lesson 1 Python Review
Udostępnij
Udostępnij
Udostępnij
autor:
Sburchell
Y9
Computing
Programming Fundamentals
Problem‑Solving and Debugging
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
Test
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:
?