Python Tutorial v3.2.5 Lesson 13.1 - Introduction to the Python Visualizer

preview_player
Показать описание
2:37 Click to skip the Introduction to Lesson 13.1.
3:01 Click to see the process for loading/searching for the Python Visualizer website.
11:58 Click to skip to an example of user-defined functions in the visualizer.

ThePython Visualizer website can be found here:

Lesson 13.1 introduces the Python Visualizer utility, a fantastic website that helps new programmers step through the execution of their program. The main use of this website related to this video is to look at the creation and storage of variable and what happens in memory when functions are executed. It also helps the user visualize how a nameError occurs and how to solve it. Later, this website will be used to help debug programs.

This is an introductory series of Python tutorials. This course, from start to finish, is designed to help someone who has never programmed before learn the basics of coding in Python. As this series continues, we examine more advanced Python techniques, functions, and methods.

Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.
Рекомендации по теме
Комментарии
Автор

and do you have any tutorials on pygame?

alexanderstorozhenko
Автор

so that's my programm

import random
print("\t\t\t\tRANDOM NUMBER GENERATOR")
def rand_num_gen():
# asks the user to print to numbers(a and b) after that generates a number between (a and b)
x=int(input("Enter a number\n:"))
y=int(input("Enter another number\n:"))
print("Your number is:")
return print(random.randint(x, y))
rand_num_gen()
print("Good luck:)")

it works but I am not realy sure if I wrote everything correctly

alexanderstorozhenko