Exercício Python #003 - Somando dois números

Exercício Python #003 - Somando dois números

How to Create a New File in Python

Introduction to the Exercise

  • The instructor introduces an exercise involving inputting values and performing calculations, emphasizing that students should engage actively with the material.
  • The lesson focuses on creating a new file as part of the third challenge in a web pages course, indicating this is the last time this specific task will be taught.

Setting Up the Project

  • Instructions are given for opening existing projects in Python, specifically mentioning how to close and reopen projects if needed.
  • The third exercise requires creating a program that reads two numbers and displays their sum. Students are encouraged to review previous lessons for context.

Importance of Active Learning

  • The instructor stresses that merely watching videos without practice does not lead to learning; hands-on experience is crucial.
  • Emphasis is placed on typing out code rather than copying it, as this reinforces learning and understanding of programming concepts.

Implementing Input and Output

  • A demonstration shows how to read inputs from users and perform calculations, highlighting common mistakes such as incorrect data types leading to errors.
  • The instructor explains converting input values into integers before performing arithmetic operations, ensuring accurate results.

Final Thoughts on Learning Programming

  • Despite being labeled easy, the exercise serves as a reminder that attention to detail is vital when coding; small mistakes can lead to significant issues.
  • Students are encouraged to utilize available resources like playlists for structured learning and reminded about certification upon course completion after passing an exam.
Video description

Exercício Python 003: Crie um programa que leia dois números e mostre a soma entre eles. Veja o curso completo de Python em https://www.youtube.com/playlist?list=PLHz_AreHm4dlKP6QQCekuIPky1CiwmdI6 Veja a lista de exercícios de Python em https://www.youtube.com/playlist?list=PLHz_AreHm4dm6wYOIW20Nyg12TAjmMGT- Gostou da aula? Então torne-se um Gafanhoto APOIADOR do CursoemVídeo acessando o site cursoemvideo.com/apoie Aula do Curso de _ criado pelo professor Gustavo Guanabara para o portal CursoemVideo.com. Curso em Vídeo Seja um apoiador: http://cursoemvideo.com/apoie Site: http://www.cursoemvideo.com YouTube: http://www.youtube.com/cursoemvideo Facebook: http://www.facebook.com/cursosemvideo Twitter: http://twitter.com/cursosemvideo Google+: http://plus.google.com/112666558837414979080 Patrocínio HOSTNET: http://www.hostnet.com.br EDUCANDUS: http://www.sistemaeducandus.com.br GAFANHOTOS: http://apoie.me/cursoemvideo