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
Chia sẻ
Chia sẻ
Chia sẻ
bởi
Sburchell
Y9
Computing
Programming Fundamentals
Problem‑Solving and Debugging
Chỉnh sửa nội dung
In
Nhúng
Nhiều hơn
Tập
Bảng xếp hạng
Hiển thị thêm
Ẩn bớt
Bảng xếp hạng này hiện đang ở chế độ riêng tư. Nhấp
Chia sẻ
để công khai bảng xếp hạng này.
Chủ sở hữu tài nguyên đã vô hiệu hóa bảng xếp hạng này.
Bảng xếp hạng này bị vô hiệu hóa vì các lựa chọn của bạn khác với của chủ sở hữu tài nguyên.
Đưa các lựa chọn trở về trạng thái ban đầu
Đố vui
là một mẫu kết thúc mở. Mẫu này không tạo điểm số cho bảng xếp hạng.
Yêu cầu đăng nhập
Phong cách trực quan
Phông chữ
Yêu cầu đăng ký
Tùy chọn
Chuyển đổi mẫu
Hiển thị tất cả
Nhiều định dạng khác sẽ xuất hiện khi bạn phát hoạt động.
Mở kết quả
Sao chép liên kết
Mã QR
Xóa
Bạn có muốn khôi phục tự động lưu:
không?