-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLecture2.py
More file actions
57 lines (27 loc) · 846 Bytes
/
Copy pathLecture2.py
File metadata and controls
57 lines (27 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(# # name = "Atabek"
# # surname = "Arapov"
# # full_name = name + " " + surname
# # print(full_name)
# name = input("Enter your name: ")
# # surname = input("Enter your surname: ")
# # full_name = name + " " + surname
# # print(full_name)
# times = int(input("How many times you wanna print your name: "))
# result = times * name
# # print(result)
# word = "Abcdefghigklmnop"
# print(word[-3])
# print(word[2])
# word[x:y:z] ASCII/Unicode
# print(word[-4:4:-2])
# word = "Atabek\nprogrammer"
# print(word)
# word = "\172"
# print(word)
# word = "atabek\\programmer"
# print(word)
# word = '''atabek PEP8 72codes(it should be on one line)
# mentor''' (for long texts and url (that understand other people))
# print(word)
# String, int, float, bool, tuple - immutable(Ne izmenyayemoy)
# Set is mutable