PY
py
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
x = int(input("Write a number: "))
print(x**x)
print("\n please upvote. it\'s my first python code!")
"""
upvote!
"""
print("\n\n your number**2 \n")
print("\n int: \n")
print(x*x)
print("\n float: \n")
print(float(x*x))
print("\n your number*2 \n")
print("\n int: \n")
print(x+x)
print("\n float: \n")
print(float(x+x))
print("\n your number/your number! \n")
print("\n float: \n")
print(x/x)
print("\n int: \n")
print(x//x)
print("\n Your number**3 \n")
print("\n int: \n")
print(x**3)
print("\n float: \n")
print(float(x**3))
print("\n It can be only zero! \n")
print(x%x)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run