Diamond Pattern in Python Using For Loop

Method-01 stars = int(input("Enter the number of start req: ")) ini_val = 2**(stars-1) for i in range(-(stars-1),stars,1): s_s = format(ini_val,f"0{stars*2-1}b") if (i < 0): ini_val = ini_val*2+2**(-i-1) else: ini_val = …

Read more

LCD Interfacing With Arduino Board

LCD Interfacing With Arduino LCD stands for Liquid Crystal Display. There are different types of displays (like TFT, OLED, Dot Matrix) available in the market for Arduino interfacing. The display …

Read more