Time with Message in Python | Python with Codes 2024

preview_player
Показать описание
Welcome to GSDigital, this channel is dedicated to everything you need to know about how we will be recovering Computer training, Special Python.
Today Topic: #TimewithMessage in #Python | Python with #Codes2024 | Urdu Hindi
===============================================================================
Codes:
import time
hour = int(input("Enter hour: "))
print(hour)
if(hour=0 and hour12):
print("Good Morning Sir!")
elif(hour=12 and hour17):
print("Good Afternoon Sir!")
elif(hour=17 and hour24):
print("Good Night Sir!")
===============================================================================
Result:
Enter hour: 11
11
Good Morning Sir!
Enter hour: 16
16
Good Afternoon Sir!
Enter hour: 22
22
Good Night Sir!
===============================================================================
Python with Codes 2024
1Introduction to Python Software | Python with Codes 2024 Urdu Hindi
2 How to Add Operators in Python | Python with Codes 2024
3 Operators use with Number or Values in Python | Python with Codes 2024
4 If Else Conditionals or codes are used in Python | Python with Codes 2024
5 True False If Else Conditionals or codes are used in Python | Python with Codes 2024
6 0 1 | True False | If Else Conditionals or codes are used in Python
7 While Loops in Python | Python with Codes 2024 | Urdu | Hindi
8 for Loops in Python | Range | Python with Codes 2024 | URdu | Hindi
9 #ForLoops in #Python Length of Character Python with #Codes2024
10 Logical Operators in Python | AND OR NOT | Python with Codes 2024
11 User Input in Python | Python with Codes 2024 | Urdu Hindi
13 Strings length |Slicing in Python | Python with Codes 2024
14 Strings Length | Upper Lower Case in Python | Python with Codes 2024
15 Replace String in Python | Python with Codes 2024 | Urdu Hindi
16 If Else use with input in Python | Python with Codes 2024 | Urdu Hindi
17 Match Case Statements in Python | Python with Codes 2024
18 Break and Continue in Python| Python with Codes 2024 | Urdu Hindi
19 Introduction to Lists in Python | Python with Codes 2024 | Urdu Hindi
20 Update List in Python | Python with Codes 2024 | Urdu Hindi
21 Create Multi Lists in Python | Python with Codes 2024 | Urdu Hindi
22 Length of list in Python | Python with Codes 2024 | Urdu Hindi
23 Values of list in Python | Python with Codes 2024 | Urdu Hindi
24 Appending list in Python | Python with Codes 2024|Urdu Hindi
25 Sort list in Python | Python with Codes 2024 | Urdu Hindi
26 Sort list Text Number in Python | Python with Codes2024 I Urdu | Hindi
27 Sort List Reverse in Python | Python with Codes 2024 | Urdu Hindi
28 Sort List Reverse in Python | Python with Codes 2024 | Urdu
29 Index Count use in Python | Python with Codes 2024 | Urdu Hindi
30 Insert Extend List in Python | Python with Codes 2024
31 Add a list into a list in Python | Python with Codes 2024
32 Tuples in Python | Python with Codes 2024 | Urdu Hindi
33 Show Details Tuple in Python Python with Codes 2024
34 Operations on Tuples in Python | Python with Codes 2024
35 Merge Tuples in Python | Python with Codes 2024 | Urdu Hindi
36 Import Time in Python | Python with Codes 2024 | Urdu Hindi
37 Time with Message in Python | Python with Codes 2024
===============================================================================
Social Media Links
Рекомендации по теме
visit shbcf.ru