Variables
Variables are used to store information inside the program.
To assign value to a variable, please use =
sign like so:
123number = 5 string = 'cat' print(number, string)
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 6
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Ask me questions about this topic
Summarize this chapter
Show real-world examples
Awesome!
Completion rate improved to 2.7
Variables
Swipe to show menu
Variables are used to store information inside the program.
To assign value to a variable, please use =
sign like so:
123number = 5 string = 'cat' print(number, string)
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 6