79422554

Date: 2025-02-08 02:45:31
Score: 1
Natty:
Report link


#Putting value of list in variable "name"
for name in list1:             

    #Check value in variable "name" starts with "S"
    if(name.startswith("S")):
         
         # print current value of "name"  
         print(f"Hello  {name}") ```
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gaurav Suniara