File tree Expand file tree Collapse file tree 3 files changed +88
-0
lines changed Expand file tree Collapse file tree 3 files changed +88
-0
lines changed Original file line number Diff line number Diff line change
1
+ # text = 'this hamburger is'
2
+ # buck = 'dollars'
3
+ # price = 10
4
+ # fuck = text + price + bucks
5
+ # print(fuck)
6
+ # there is no way to concatenate str to int
7
+ #
8
+ #Input tutorial
9
+ # name = input('whats your name, dude?\n')
10
+ # print('hello' + name)
11
+ # work = input('what are you gonna do next today?\n')
12
+ # print('this ' + work + ' takes a lot of time')
13
+ birthYear = input ('BIrth year:' )
14
+
15
+ age = 2022 - int (birthYear )
Original file line number Diff line number Diff line change
1
+ import os , time
2
+
3
+ def anime ():
4
+ distance = 20
5
+ while True :
6
+ print ("\n " * distance )
7
+ print (" /\ " )
8
+ print (" || " )
9
+ print (" || " )
10
+ print (" /||\ " )
11
+
12
+ time .sleep (0.2 )
13
+ os .system ('clear' )
14
+ distance = 20
15
+ distance = - 1
16
+ if distance > 0 :
17
+ distance = 20
18
+
19
+
20
+ anime ()
Original file line number Diff line number Diff line change
1
+ # name = 'John'
2
+ # surn = 'Hugh'
3
+ # print(name + ' ' + surn)
4
+
5
+ # age = 21
6
+ # age += -2
7
+ # print('my age is ' +str(age))
8
+ #
9
+ # float = 189.9
10
+ # print(str(float) + " is my height")
11
+ #
12
+ # human = False
13
+ # print(human)
14
+ # conditionals
15
+ # a = 9
16
+ # b = 10
17
+ #
18
+ # if a < b :
19
+ # print('thats true')
20
+ # elif a == b:
21
+ # print('you bitch')
22
+ # else:
23
+ # print('you are rock!')
24
+
25
+
26
+ #
27
+ # list = [2929, 4949, 40490, 404094]
28
+ #
29
+ #
30
+ # print(len(list))
31
+
32
+ #
33
+ # lst = [] #empty array
34
+ # num = int(input("Enter the size of the array: ")) # return as integer
35
+ # print("Enter array elements: ") #print smth
36
+ # for n in range(num): # loop starts
37
+ # numbers = int(input()) #
38
+ # lst.append(numbers)
39
+ # print("Sum:", sum(lst))
40
+
41
+ #
42
+ # name = input('whats ur name?')
43
+ # age = int(input('how old are you'))
44
+ #
45
+ # if age < 18 :
46
+ # print('you are so \x1B[1mYoung\x1B[0m ')
47
+ # elif age > 18:
48
+ # print('hello ' +name)
49
+ # print('you are mature')
50
+ # else:
51
+ # print('fuck')
52
+ TGREEN = '\033 [37' # Green Text
53
+ print (TGREEN + "This is some green text!" )
You can’t perform that action at this time.
0 commit comments