sc
1. 3,4,5,6A represent it in array code:- array = [3, 4, 5, "6A"] for element in array: print(element) 2. show * in array code:- #include <stdio.h> int main() { int array[] = { 1, 2, 3, 42}; printf("%d\n", array[0]); printf("%d\n", array[1]); printf("%d\n", array[2]); printf("%c\n", array[3]); return 0; } 3. Calculate the no. of numerical digits in a string. code:- s tring = "Madhav 9034, I have 34 Rubbe4." count = 0 for char in string: if char.isdigit(): count = count + 1 print("Number of numerical digits:", count) or def count_digits(input_string): count = sum(1 for char in input_string if char.isdigit()) return count if __name__ == "__main__": user_input = input("Enter a string: ") digit_count = count_digits(user_input) ...