HomePython programmingMultiplication Table in Python Leave a Comment / By akyadavi / July 10, 2023 #printing multiplication table in python n=eval(input(“Enter a number : “)) print(“\n”) for i in range(1,11): print(i*n, end=” “)
printing 1 to 100 in python Python programming / July 7, 2023 / Leave a Comment #printing 1 to 100 : for k in range (1,101): print(k) To print numbers in a row. Use print(k,end=” ,”)
Strings Slices in Python Python programming / July 9, 2023 / Leave a Comment Strings are sliced using a range of indices. string1[a : b] where a and b are integers and legal indices ,will return a slice of…