Quick actions

cmd+k|ctrl+k

Navigation

Languages

Lesson 10 - Revision

Snippet info

Language

Python

Visibility

public

Author

hardmandx

Created

2024-12-18T11:38:08.559158Z

Updated

2024-12-18T13:47:52.330765Z

def func():
    print('Hello John')

if 1 > 10:
    print('True')
elif 3 != 4:
    print('Hello')
else:
    print('nothing')

if 1 > 10:
    print('True')
elif True:
    print('Hello')
elif True:
    print('nothing')
else:
    print('good')
    
a = 10
if a > 5:
    pass
x = 2

# python support object oriented matter

print(type(3.6))
print(type([]))
print(type(True))

from dio import *
a()
b()
def a():
    print('i am from function a')
a()    
import tria as t
t.a()
a()

x = input('please input a number')
INFO