Computer Science, asked by Anthaea, 20 days ago

Write a python program to generate the following pattern using nested loop function.

Attachments:

Answers

Answered by BrainlyProgrammer
89

Answer:-

  • please check the attachment

Logic:-

  • Run i loop from 65 to 70
  • Run j loop from 65 to I+1
  • print character value of j

Note:-

  • This I and j loop is starting from 65 because ASCII value of 'A' to 'Z' is 65 to 90.
  • ASCII value of 'a' to 'z' is from 97 to 122.
Attachments:
Similar questions