-
Explain what the console is?
-
Why is Python called a high-level language?
-
What does the print function do in Python?
-
What does this print function prints in the console?
print('Welcome to my program!')
-
What is a string in Python?
-
What does case sensitivity mean in Python?
-
Complete the print function.
print""'Hello!')
-
Why do we use comments?
-
Does Python prints the text?
# print('Hello, its me!')
-
We want to disable this line temporarily, so let’s comment it out.
''print('Welcome to our application!')
-
Print Thank you kindly! in the output.
""('Thank you kindly!')
-
Debug this code.
print('Python is awesome!'""
Python Exercises for Variables
If you’ve faced difficulties with these exercises, take a look at Variables Module on my Python course.
You can also share ‘Python Variables’ Exercises on your:
X (Twitter) – Telegram – Linkedin – Facebook – or on your favorite platform…