Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Python for JavaScript Developers

Python Logo

This lesson is designed to help JavaScript developers understand the basic syntax and structure of Python code.

Lesson Objectives

  • Understand variables and basic data types in Python
  • Learn about Python's number types: integers and floats
  • Compare boolean values and truthiness between Python and JavaScript
  • Explore string manipulation in Python, including indexing, slicing, and formatting
  • Understand the differences in variable declaration and naming conventions between Python and JavaScript
  • Learn, further how to use f-strings for string formatting in Python
  • Compare Python's equality operators with JavaScript's loose and strict equality

Remember to:

  • create a new virtual environment for this lesson
python3 -m venv venv
source venv/bin/activate
  • select the Python interpreter in your IDE
  • choose install when asked to install the ipykernel package

NOTE in the bottom right corner of the screen. Hoever over the Cursor Tab and in the box, choose Disable Globally. Also choose disabled in the Cursor Prediction dropbox This will enable you to create the code on your own without the help of Cursor. Creating the functions yourself will help you learn the material.

Links

Materials:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages