У нас вы можете посмотреть бесплатно Common beginner mistakes in python или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
COMMON PYTHON MISTAKES THAT BEGINNERS MAKE: 1. Indentation block membership Python beginners often think that adding a blank new line ends a block of code because of how that looks. But thee only thing that decides what block a line belongs to is its level of indentation 2. Indentation tabs and spaces This is a mistake that happens to most people when pasting code into their programs. It’s a tricky one because many IDE’s convert tabs to spaces automatically and others have that as an option so this error takes a lot of people by surprise 3. Basic type conversion Beginners tend not to realise that the input() function converts any user input to a string. Hence if they used input() to get a number from a user they will forget to convert it to a float or an int 4. Making spelling errors or confusing characters Beginners tend not be conscious of the fact that any misplaced character leads to an error so they will often put the wrong type of bracket or swap between commas and fullstops 5. Module, has the same name as variable The most common example of this is when students do turtle for the first time and save their first program as turtle.py this makes python look for turtle module function in the student file and offcourse nothing works. The only fix is to delete the student created file 6. Function has the same name as variable In general you should try to make sure that you never use the same name twice in a program be that for a variable, function, file or class. It can go wrong in many ways but a common one is naming a function the same as a variable 7. Concatination with strings and integers Python is super flexible and with dynamic typing students tend not to think about what data type their variable is so they wind up trying to add (concatenate) a string to an integer 8 List copying not working properly This happens to beginners as well as some more experienced users. They think by creating a new variable and setting it to an existing list will create a second list which copied the original but instead the new variable just points to the same list #pythonBeginners, #beginnersMistakes, #commonErrors, #python, #pythonErrors SOCIAL: Twitter: / sanjindedic Facebook Page: / headstartacademyau WEBSITES https://www.headstartacademy.com.au/ https://robotix.com.au/ About me I have been a technology enthusiast from as long as I can remember with a special love for robots. I completed my Robotics degree at A.N.U and majored in Computer Vision. In 2012 after 5 years working as a Design Engineer, I decided to get into education. My first passion was bringing Arduino Programming and 3D printing to schools but I as the years went by Python became my new favourite toy for creating text based applications like chatbots and 2D games. Since 2015 I have been teaching part time while authoring books and online courses used by tens of thousands of students across Australia as well as doing extensive teaching training in collaboration with Digital Learning and Teaching Victoria. About Head Start Academy I believe that coding is an extremely useful and universally valued skill. Today most students in Australia experience some coding in school or in after school programs. Some students enjoy it immensely and are left wanting more, these are the students I want to help. My goal is to build on that enthusiasm, introduce them to like minded peers and help them learn the skills and habits that will set them on a path to excellence in Computer Science. In our classes students will experience the following: • Small group learning: 6 - 12 students • Instruction from an educator who has university level qualifications in both education and Digital Technologies • Minute by minute peer and instructor feedback on their code • Lifetime access to learning materials (videos + pdf guides) for all the content covered • Research skills and best practice use of coding websites like Stack Overflow and GitHub