Skip to content

Commit 7bfb74b

Browse files
committed
first commit
0 parents  commit 7bfb74b

File tree

3 files changed

+88
-0
lines changed

3 files changed

+88
-0
lines changed

main.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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)

pythonAnime.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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()

variables.py

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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!")

0 commit comments

Comments
 (0)