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
Kopīgot
Kopīgot
Kopīgot
autors:
Sburchell
Y9
Computing
Programming Fundamentals
Problem‑Solving and Debugging
Rediģēt saturu
Drukāt
Iegult
Vairāk
Uzdevumus
Līderu saraksts
Rādīt vairāk
Rādīt mazāk
Šī līderu grupa pašlaik ir privāta. Noklikšķiniet uz
Kopīgot
, lai to publiskotu.
Mācību līdzekļa īpašnieks ir atspējojis šo līderu grupu.
Šī līderu grupa ir atspējota, jo jūsu izmantotās iespējas atšķiras no mācību līdzekļa īpašnieka iespējām.
Atjaunot sākotnējās iespējas
Viktorīna
ir atvērta veidne. Tā neģenerē rezultātus līderu grupai.
Nepieciešams pieteikties
Vizuālais stils
Fonts
Nepieciešams abonements
Iespējas
Pārslēgt veidni
Rādīt visus
Atskaņojot aktivitāti, tiks parādīti vairāki formāti.
Atvērtie rezultāti
Kopēt saiti
QR kods
Dzēst
Atjaunot automātiski saglabāto:
?