Assignment Python
Assignment Python
Part C: True/False
Q21. // is used to perform floating point division.
Q22. A variable in Python can start with a digit.
Q23. The keyword elif is short for "else if".
Q24. Logical AND is represented by && in Python.
Q25. Python is an interpreted language.
Q26. Python is not case sensitive.
Q27. input() always returns data in string format.
Q28. The not operator can be used with Boolean values only.
Q29. Python supports both single and double quotes for strings.
Q30. Every if must have an else in Python.
Q35.print(10 + 5 * 2 - 3)
Q36. a, b, c = 4, 2, 1
print((a + b) * c)
Q41. x = 10
if x => 5
print("Greater")
else:
print("Smaller")