मराठी

Write for statement to print the following series: 105, 98, 91, ..., 7

Advertisements
Advertisements

प्रश्न

Write for statement to print the following series:

105, 98, 91, ..., 7

कोड लेखन
Advertisements

उत्तर

for i in range(105, 6, -7):
    print(i, end=", ")
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1: Review of Phython - EXERCISE [पृष्ठ २४]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
पाठ 1 Review of Phython
EXERCISE | Q 2. b) | पृष्ठ २४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×