Getting started with Python

What’s new for me


  • Do not need to declare variables
  • indentation replaces curly braces to divide code blocks

Grammar


Assigning value to multiple variables

1
x, y, z = 1, 2, "hello"

Define a global variable in local function

1
2
3
def myfunc():
global x
x = "fantastic"

Change the value of a global variable inside the function

1
2
3
4
x = "declan"
def myfunc():
global x
x = "declan and jessica"

Summer vacation starts now

Picking up exercise again

My first VEX competition of this season

A moving film -- Rudy

VEX programming tips

How to be scientifically online

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×