Variables & expressions in Python | Khan Academy

Programming
वर्ष2022
अवधि49m

How does the way computers process information differ from how humans process information? Learn how computers interpret sequence and state as you write, run, and debug your first Python programs. Explore data types, operators, and variables, and learn how to make your programs interactive with user input. Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing/intro-to-python-fundamentals/x5279a44ae0ab15d6:computational-thinking-with-variables Full course playlist: https://www.youtube.com/playlist?list=PLSQl0a2vh4HDkbhG0sDW0b-VZXykEIAe5 Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into dozens of languages, and 15 million people around the globe learn on Khan Academy every month. As a 501(c)(3) nonprofit organization, we would love your help! Donate or volunteer today! Donate here: https://www.khanacademy.org/donate?utm_source=youtube&utm_medium=desc Volunteer here: https://www.khanacademy.org/contribute?utm_source=youtube&utm_medium=desc

आपको ये भी पसंद आ सकते हैं

टिप्पणियाँ

10 टिप्पणियाँ

realhimeshJun 24, 2025

Trace how the computer evaluates complex arithmetic expressions with multiple operators, built-in functions, and nested function calls. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into d

✨Amal_Jnoox✨👑🇦🇪Jun 24, 2025

How do you convert a value from one data type to another? Use the built-in type casting functions int(), float(), and str() to convert values to and from integers, floats, and strings. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school an

hano__tr97Jun 24, 2025

Code along with a software engineer in this worked example using variable assignment and the input() function. Apply variables, user input, and string concatenation to design a program that generates custom catering contracts from a template. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop

Lord SkyJun 24, 2025

How do programs get input from the user? Practice using the input() function in Python, and discover how frontend development can make a backend program look and feel more polished. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and b

blenshaJun 24, 2025

Trace a program with variables to understand how the computer interprets assignment statements, variable accesses, and variable expressions. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated i

Rae🖖🏾Jun 24, 2025

How can the computer store a value for later? Learn how to use variables to keep track of information in your programs. Explore how computer memory updates when the computer executes an assignment statement. Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into dozens of l

user4230313415209Jun 24, 2025

Code along with a software engineer in this debugging worked example using error messages. How can I figure out what's causing the error in my program? Learn how to interpret stack traces and linter messages to debug syntax errors, runtime errors, and logic errors. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help

azrel.ismailJun 24, 2025

What happens when you press the Run button? Trace the execution of a basic Python program to understand how the computer evaluates expressions with the plus operator and interprets print statements. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for succes

RedOneJun 24, 2025

Evaluate Python expressions that use the plus operator. Add integer, float, and boolean data types, and apply string concatenation to add strings together. Ask the computer to display the result in the console using the print function. View the program used in this video at: https://www.khanacademy.org/python-pr... Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the sk

MiauuuuuuuuuJun 24, 2025

What is a program? What does a programmer do? What is the difference between computer science and computer programming? Explore the origins of programming languages to understand what it means to program. Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course! Course link: https://www.khanacademy.org/computing... Course playlist: •IntrotoComputerScience-Python|Khan... Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into dozens of lang