Post

Python Programming
Python Programming@PythonPr·
Python Question / Quiz; What is the output of the following Python code, and why? Comment your answers below!
Python Programming tweet media
English
22
8
94
9.2K
Kamal Gurjar
Kamal Gurjar@KamalGurjar8·
@PythonPr Output C — Error Reason: Tuples in Python are immutable. x[1] = 99 tries to modify a tuple → raises TypeError: 'tuple' object does not support item assignment
English
1
0
8
795
PyBerry Tech 🐍🍓
PyBerry Tech 🐍🍓@PyBerryTech·
@PythonPr Will raise a TypeError on the assignment line, as tuples cannot be modified after creation.😉
English
0
0
4
712
rad phœnix
rad phœnix@bornintheflames·
@PythonPr Programming already being studied as a field of paleoarchaeology
English
0
0
0
125
Paylaş