Add list items Question YashikaKhurana Write a program to add the items of a list. solved 0 Python 55 years 2 Answers 792 views Master
check if number is palindrome Question YashikaKhurana n=int(input("Enter a number:")) t=n r=0 while(n>0): d=n%10 r=r*10+d n=n//10 if(t==r): print("Palindrome") else: print("Not a Palindrome") 0 Python 55 years 0 Answers 838 views Master
Recursive approach for palindrome Question YashikaKhurana Write a program to find out if a string is palindrome or not, using recursion. in progress 0 Python 55 years 1 Answer 756 views Master
pattern printing Question YashikaKhurana Print the following pattern: * * * * * * * * * * * * * * * * * * * * * * * * * in progress 0 Python 55 years 2 Answers 777 views Master
Prime numbers using for loop Question YashikaKhurana Write a program to find all prime numbers between 25 and 50. in progress 0 Python 55 years 1 Answer 1088 views Master
Display numbers using for loop Question YashikaKhurana Display numbers from -12 to -1 using for loop. in progress 0 Python 55 years 0 Answers 785 views Master
List reversal using for loop Question YashikaKhurana Reverse the list below using for loop: my_list=[11,34,56,90,32] in progress 0 Python 55 years 2 Answers 770 views Master
Check existence of an item Question YashikaKhurana Check if Apple exists in the dictionary below: fruits={ "mango":"yellow", "pear":"green:, "apple":"red", } in progress 0 Python 55 years 1 Answer 920 views Master
Alter dictionary Question YashikaKhurana While recording the marks, Maria mistakenly added her Physics marks as 12. Correct it to be 20. MariaMarks={ "Math":18, "Chemistry":12, "Physics":12 } in progress 0 Python 55 years 2 Answers 763 views Master
Update the dictionary Question YashikaKhurana Alexis is 23 years old. Add this to her record existing as: my_record={'name': 'alexis', 'city': 'georgia'} in progress 0 Python 55 years 1 Answer 775 views Master