a= """huhuhu
hello la team je suis bien ici
caca sur vous"""
print(a)

b= "Hello you"
print(b[1])

for x in 'banana':
    print(x)
c= 'fufufu'
print(len(c))

txt= "The best things in life are free"
if 'free' in txt:
    print('Yes, "free" is present.')
elif 'best' in txt:
    print('"free" is not present, but "best" is present')
else:
    print('"free" is not present and "best" is not present')

print(bool('Hello'))
print(bool(15+6==22))

class mycjass():
    def _len_(self):
        return 0

myobj = mycjass
print(bool(myobj))

def myFunction():
    return True

if myFunction():
    print('Yes!')
else:
    print('No!')

x = 200
print(isinstance(x, int))

mylist = ['apple', 'banana', 'cherry', 'apple', 'cherry']
print(len(mylist))

thislist = list(('apple', 'banana', 'cherry'))
print(thislist)

this_tuple = ("apple", "banana", "cherry")
print(type(this_tuple))
my_set = {'app', 'yui'}
print(my_set)
print(type(my_set))

hu=18

if hu >10:
    print('Above ten')
    if hu > 20:
        print("and also above 20!")
    else:
        print("but not above 20.")

juju_list=['caca', 'guyt', 'gnuh hu hu']
juju_list[1]='thon'
print(juju_list)

day=4
match day:
    case 1:
        print('Monday')
    case 2:
        print("Tuesday")
    case 3:
        print("Wednesday")
    case 4:
        print("Thursday")
    case 5:
        print("Friday")
    case 6:
        print("Saturday")
    case 7:
        print("Sunday")

day = 4
match day:
  case 1 | 2 | 3 | 4 | 5:
    print("Today is a weekday")
  case 6 | 7:
    print("I love weekends!")

i = 1
while i < 7:
  print(i)
  i += 1
print('''hello les boss
comment ça va ?
Moi ça va bien''')
i = 1
while i < 6:
    print(i)
    if i == 3:
        break
    break
    i +=1

chess='bien'
match chess:
    case 'nul':
        print('chess is not good')
    case 'bien':
        print('chess is wonderful')
   

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: