-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathirene.py
More file actions
60 lines (45 loc) · 725 Bytes
/
irene.py
File metadata and controls
60 lines (45 loc) · 725 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
print("hello \nworld")
print("hello world")
if 5>2:
print("5 is greater than 2")
if 5 > 2:
print("5 is greater than 2")
if 5 > 2:
print("5 is greater than 2")
if 5>2:
print("5 is greater than 2")
print("5 is greater than 2")
x=1j
y="thomas"
print(type(x))
print(type(y))
x=str(3)
y=int(3)
z=float(3)
print(x)
print(y)
print(z)
myVar="john"
print(myVar)
x,y,z="orange","apple","cherry"
print(x)
print(y)
print(z)
x=y=z="orange"
print(x)
print(y)
print(z)
x="python"
y=" is"
z=" awesome"
print(x + y + z)
username=input("Enter username:")
print("username is: " +username )
a ="hello"
b=" world"
c=a+b
print(c)
a= "hello world"
print(a[2])
b="Hello World"
print(b[2:5])