Initial Commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
What exactly does this Python 3.12 script print? Give the output line by line. Be exact — whitespace and quotes matter.
|
||||
|
||||
```python
|
||||
print(round(2.5), round(3.5), round(-0.5))
|
||||
print(-7 // 2, -7 % 2)
|
||||
print(0.1 + 0.2 == 0.3)
|
||||
print(f"{2.675:.2f}")
|
||||
print(2**64)
|
||||
print([1, 2, 3] * 2)
|
||||
print("ab" * 3 + "c")
|
||||
print(sorted(["10", "9", "100"]))
|
||||
print(bool("False"))
|
||||
print(1 == True, 2 == True)
|
||||
print(type(1/1), 7/2, 7//2)
|
||||
```
|
||||
Reference in New Issue
Block a user