python_qa_complete
python_qa_complete
Unit 1
print("Welcome to Python")
4. Write short notes on Python numbers.
'''
This is a multi-line comment.
Used for documentation.
'''
Long Answer Questions (LAQs)
Unit 1
Features of Python:
python --version
s = "Hello, Python!"
print(s.upper())
4. Define Operators and explain any five Operators with syntax
and examples.
Unit 2
if x > 5:
print("Greater")
elif x == 5:
print("Equal")
else:
print("Smaller")
for i in range(5):
print(i)