Quick actions

cmd+k|ctrl+k

Navigation

Languages

23/6/2026 practice

Snippet info

Language

Python

Visibility

public

Author

catfisherinvisible

Created

2026-06-23T18:30:14.231523Z

Updated

2026-06-24T08:49:02.609474Z

text = '''
gggg
rrrr
rrrr'''
print(text)
name = [[1],[2],[3],[4]]
print([-1])
def greet(name):
    print(f'Hello, {name}!')
greet('leo')
def write(sentence):
    print(f'Wirte it down: {sentence}')
write('Fuck you bitch')
def cat(name):
    print(f'Name of the cat:{name}')
cat('leo')
x = 1 + 2 + 4\
+6 +7
print(x)
print(isinstance(x, int))
print(type(x))
print(id(x))
y = x
print(id(x))
x = 6
print(id(x))
print(id(y))
x = 'apple', 'orange', 'banana'
print(type(x))
x = ['apple', 'orange', 'banana']
print(type(x))
from fractions import Fraction
print(Fraction('0.25'), Fraction('7/8'), Fraction(0.1))
y = 12%6
print(y)
a,b = 1,2
print(a,b)
name = 'Alice'
leo = 22
if leo > 20:
    print('Yes')
else:
    print('No')
age = 22
name = 'leo'
citizen = 'yes'
if citizen=='yes' or age>18:
    print(f'{name} you are eligible')
else:
    print(f'{name} you are not eligible')
INFO