-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhelloworld.py
37 lines (25 loc) · 846 Bytes
/
helloworld.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
29
30
31
32
33
34
35
36
# https://youtube.com/@codewithmuh
# https://github.com/rashiddaha
# Python Tutorial
# Print Hello World
print("Hello Wold")
# Print Number
print(2+2)
# print(2 + 3) # addition(+)
# print(3 - 1) # subtraction(-)
# print(2 * 3) # multiplication(*)
# print(3 / 2) # division(/)
# print(3 ** 2) # exponential(**)
# print(3 % 2) # modulus(%)
# print(3 // 2) # Floor division operator(//)
# # Checking data types
# print(type(10)) # Int
# print(type(3.14)) # Float
# print(type(1 + 3j)) # Complex
# print(type('Asabeneh')) # String
# print(type([1, 2, 3])) # List
# print(type({'name':'Asabeneh'})) # Dictionary
# print(type({9.8, 3.14, 2.7})) # Set
# print(type((9.8, 3.14, 2.7))) # Tuple
# https://youtube.com/@codewithmuh
# https://github.com/rashiddaha