filmov
tv
Python MCQ Quize | CodeAj ~pythoncoding4u

Показать описание
Ready for a Python challenge? Test your skills with this brain-teasing question:
Answer
A) * ** *** ****
Explanation
The code uses a for loop to iterate over the numbers 1 to 4. In each iteration, it prints '*' repeated 'i' times. Therefore, the output is:
*
**
***
****
Drop your answers in the comments! Let's see who can crack this Python puzzle! Don't forget to engage with us using these hashtags:
~codeaj
~codeajay
~PythonMCQ
~Programming
~CodingChallenge
~codingCommunity
~codingQuiz
~programmingChallenge
~ProgrammingLanguages
~learncoding
~python
~pythoncoding
~Softwaredevelopment
~coders
~PythonCoding4U
Answer
A) * ** *** ****
Explanation
The code uses a for loop to iterate over the numbers 1 to 4. In each iteration, it prints '*' repeated 'i' times. Therefore, the output is:
*
**
***
****
Drop your answers in the comments! Let's see who can crack this Python puzzle! Don't forget to engage with us using these hashtags:
~codeaj
~codeajay
~PythonMCQ
~Programming
~CodingChallenge
~codingCommunity
~codingQuiz
~programmingChallenge
~ProgrammingLanguages
~learncoding
~python
~pythoncoding
~Softwaredevelopment
~coders
~PythonCoding4U