-
ShareChat
click to see wallet page
@1801698594
1801698594
-
@1801698594
ஐ லவ் ஷேர்சாட் .ஷேர்சாட் இஸ் ஆசாம்
#python everyone python learner's need to notice this
python - mainpy mainpy Output Output 1ist1=[1,2,3,4,5] [16 , 25] list2= [] 16 25 for in range(0 ,5) : append(1ist1[1]**2) 1ist2. Code Execution Successfull === EEE[ print(list2[3:4]+list2[4:5]) int(" join(map(str ,list2[3:4] pr +list2[4:5]))) mainpy mainpy Output Output 1ist1=[1,2,3,4,5] [16 , 25] list2= [] 16 25 for in range(0 ,5) : append(1ist1[1]**2) 1ist2. Code Execution Successfull === EEE[ print(list2[3:4]+list2[4:5]) int(" join(map(str ,list2[3:4] pr +list2[4:5]))) - ShareChat
#python everyone python learner's need to notice this
python - str1 "HelloWorldl 1 output 2 = 3 # Loop through in each Character thel 4 string in range(len(str1)): for 1 5 if 1==4 1==6 1 1 6 0 2 33 or 33 or or 1==8 1==9: 01 ori str1[i].upper() output 7 + 1st and the # Convert characters 3rd tol uppercasel else: 8 str1 [ ]] # Keep thel output 9 + the string it ०f L$ rest as 10 print(output ) 11 str1 "HelloWorldl 1 output 2 = 3 # Loop through in each Character thel 4 string in range(len(str1)): for 1 5 if 1==4 1==6 1 1 6 0 2 33 or 33 or or 1==8 1==9: 01 ori str1[i].upper() output 7 + 1st and the # Convert characters 3rd tol uppercasel else: 8 str1 [ ]] # Keep thel output 9 + the string it ०f L$ rest as 10 print(output ) 11 - ShareChat
#python ipaddress validation. So every one python learner's need to notice this
python - Trogramiz Irogramiz Programiz PRO Programiz PRO Python Online Compiler Python Online Compiler main py "8: ಹ mainpy 0: Output Output input("enter the ip: the ip: TP enter ٥٠٦ ٠٦ ٠٦ IP. split ( " ['0' '1'] '1' '1', print(t) nol n = len(t) print(n) Code Execution Successfull f = and int(t[o] and int(t[0])!=0 10 ifl 88 )>=1:# first octet check in range(0 , 11 for n) : 12 1f int(t[i]) and int(t[1]) >= 255: = 13 f = f + 1 14 if ٤ 15 4: == r t y W e q print( "yes p 16 17else: print( "no " ) 18 d f  g h j k | a $ Trogramiz Irogramiz Programiz PRO Programiz PRO Python Online Compiler Python Online Compiler main py "8: ಹ mainpy 0: Output Output input("enter the ip: the ip: TP enter ٥٠٦ ٠٦ ٠٦ IP. split ( " ['0' '1'] '1' '1', print(t) nol n = len(t) print(n) Code Execution Successfull f = and int(t[o] and int(t[0])!=0 10 ifl 88 )>=1:# first octet check in range(0 , 11 for n) : 12 1f int(t[i]) and int(t[1]) >= 255: = 13 f = f + 1 14 if ٤ 15 4: == r t y W e q print( "yes p 16 17else: print( "no " ) 18 d f  g h j k | a $ - ShareChat
#python *arg and **args in python function
python - def add(**arg): +419 112**KVar8s su-0 dcl demn(*args): foprintargs  for 1,] in arg items(): print(i,j) demo(10,20,30,40,50,60) Su-su+ ] print( sum) add(a=4,b=5 , C=6 ) 10 11 def add(**arg): +419 112**KVar8s su-0 dcl demn(*args): foprintargs  for 1,] in arg items(): print(i,j) demo(10,20,30,40,50,60) Su-su+ ] print( sum) add(a=4,b=5 , C=6 ) 10 11 - ShareChat
#python convert nested list into normal list using def function
python - Programiz | Trogramiz Programiz PRO Programiz PRO Python Online Compiler| Python Online Compiler| : 0 main py min py ஃ Output Output 1  def flatten_list(nested) : [1, 2, 3, 4, 5] flat=[] for in nested: Code Execution Successful if isinstanceli,list): flat extend(flatten_list(i] )) else: flat.append(i) return(flat) 5]]]]| 10 nested [१ , [3, [2, [4, print(flatten_list(nested) ) 11 Programiz | Trogramiz Programiz PRO Programiz PRO Python Online Compiler| Python Online Compiler| : 0 main py min py ஃ Output Output 1  def flatten_list(nested) : [1, 2, 3, 4, 5] flat=[] for in nested: Code Execution Successful if isinstanceli,list): flat extend(flatten_list(i] )) else: flat.append(i) return(flat) 5]]]]| 10 nested [१ , [3, [2, [4, print(flatten_list(nested) ) 11 - ShareChat
#python
python - ShareChat
#💝இதயத்தின் துடிப்பு நீ #காமெடி 😂😅🤣
💝இதயத்தின் துடிப்பு நீ - ShareChat
01:56