Python From Beginner to Advanced

0% completed

Previous
Next
Quiz
What is Python primarily used for?
A
Mobile development
B
Machine Learning
C
Web development
D
All of the above
What is printed by the following Python code?
print("Hello, world!")
A
Hello, world!
B
hello, world!
C
"Hello, world!"
D
Syntax Error
Which symbol is used to start a comment in Python?
A
#
B
//
C
D
%
In Python, how do you print a new line without adding any text?
Choose all correct options
print("/n")
print("n")
print("\n")
print()
Previous
Next
Mark as Completed