ixambee.com
New RBI Grade B 2025 Notification will come Soon! Enroll Here

    • My Home
      • Dashboard
      • My Account
      • My Courses
      • My Performance
      • Packages
      • Logout
    • youtube Free Videos
      Youtube VideosLive Classes RBI Grade BLive Classes SEBI Grade ALive Classes IBPS PO & RRB
    • Previous Year Paper
    • Exams
    • Online Course
    • Free Mock Test
    • General Awareness
    • Daily Practice
    • All Courses
    • Private Jobs New
    • Testimonials
    ixambee mentorbee
    1. Home
    2. Questions
    3. Information Technology Professional Knowledge
    4. IT Networking
    5. Predict the output for below code in python Count =10 Def function1() : Global Count for i in(1,2,

    Question

    Predict the output for below code in python Count

    =10 Def function1() : Global Count for i in(1,2,3) : Count=Count+1 function1() print(Count)
    A 13 Correct Answer Incorrect Answer
    B 6 Correct Answer Incorrect Answer
    C 16 Correct Answer Incorrect Answer
    D 5 Correct Answer Incorrect Answer
    E error Correct Answer Incorrect Answer

    Solution

    The variable Count is the same that is defined outside and inside the function , so the changes will be reflected to the same variable.

    Practice Next
      More IT Networking Questions
    • In which Indian state is the Bhupen Hazarika Cricket Stadium located?

    • Which of the following is correctly Matched?

      I) Drafting Committee – Bhimrao Ambedkar 

      II) Union Constitution Committee – Jawaharlal ...

    • Who is the present Human Resource Development minister in INDIA?

    • Which city in India is also known as the 'Pink City'?

    • What is a Follow-on Public Offer (FPO)?

    • Given below are two statements, in which one is labelled as Assertion (A) and the other as Reason (R):

      Assertion (A): During the winter season, m...

    • The highest dam in India is ____.

    • Consider the following statements:

      Assertion (A): India underwent modernization in the 19th century due to socio-religious reform movements.

      ...
    • What penalty did the RBI impose on HDFC Bank for violating recovery agent engagement guidelines?

    • Who were the three new inductees into the ICC Hall of Fame in October 2024?

    Please Register/Login to Download Question

    I Pledged to:

    Please Enter Details

    call-back
    Please enter Name We'll never share your email with anyone else.
    Please enter Correct Mobile Number We'll never share your email with anyone else.

    Thank You

    +91-9205524028 Available Mon-Sat (10 AM to 7 PM)

    [email protected]

    © ATOZLEARN EDUTECH PRIVATE LIMITED All rights reserved.

    Update Address

    Please enter complete address
    Please enter pincode
    Please enter State
    Please enter City

    Download the app

    ×
    QR Code
    Get Started with ixamBee

    Start learning 50% faster. Sign in now

    Please enter Mobile Number or Email Please enter valid Mobile Number or Email
    Please enter Mobile Number Please enter valid Mobile Number
    Email id already Exists Please Enter valid Email Address
    Please enter Mobile Number or Email Please enter valid Mobile Number or Email
    Mobile Number id already Exists Please Enter valid Mobile Number
    Please enter valid OTP Mail sent on your email