Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 136 - 2629_Devagiri_C-8
P. 136

    21 st   #Creativity
                                                                                               Century   #Technology Literacy
                       3.   You will control a VR Robot in a virtual environment where pieces   Skills
                           of ocean waste are scattered across the coral reef area. Now, program the VR Robot to
                           collect and remove all the waste from the coral reef as quickly as possible in the Coral Reef
                           Cleanup Playground.
                           While programming the VR Robot, keep the following points in mind:

                               Plan a systematic path to cover the entire reef without leaving any waste behind.
                                Use  precise  movement  commands  to  pick  up  and  remove  each  piece  of  waste
                                efficiently.

                                                                                                21 st   #Technology Literacy
                                                                                               Century   #Critical Thinking
                       4.   Create the program in Python to enter a number from the             Skills
                           keyboard and then it will print:
                               the sum of the digits of the number
                                the reverses the number

                          Program.py
                       File  Edit  Format   Run    Options   Window    Help

                       Python 3.13.7 (tags/v3.13.7:bceelc3, Aug 14 2025, 14:15:11) [MSC v.1944 64
                       bit (AMD) 64)] on win32
                       Enter "help" below or click "Help" above for more information.
                       RESTART: C:/Users/Ankita Kapoor/AppData/Local/Programs/Python/Python313/1.py =
                       Enter a number: 45
                       Reverse of number is: 54
                       Sum of digits of the number is: 9

                          Output
                       Enter a number: 45
                       Reverse of number is :  54
                       Sum of digits of the number is :  9

                       134
                            Premium Edition-VIII

| 131 132 133 134 135 136 137 138 139 140 141 |