Python Coding
7.49K subscribers
1.56K photos
4 videos
49 files
1.42K links
Learn Python to automate your things. We are here to support you. Ask your question

Reach us - info@clcoding.com

https://whatsapp.com/channel/0029Va5BbiT9xVJXygonSX0G
Download Telegram
March 18
March 18
March 18
What will be the output of the following code?

number = 7 if(number == 7): number += 1 print("1") if number == 8: print("2") else: print("3")
Anonymous Quiz
33%
1
51%
1 2
2%
3
14%
Logical Error
March 18
March 18
March 19
March 19
March 19
What will be the output of the following code?

colors = ["Red", "Yellow", "Orange"] for i in range(0,2): print(colors[i])
Anonymous Quiz
42%
Red Yellow
47%
Red Yellow Orange
6%
Yellow Orange
6%
None
March 19
March 20
March 20
March 20
What will be the output of the following code?

import array as arr numbers = arr.array('I', [-1, 6, 9]) print(numbers[0])
Anonymous Quiz
67%
-1
14%
6
19%
Exception
0%
None
March 20
March 21
March 21
March 21
March 21
What will be the output of the following code?

def set_name(): name = 'Python' set_name() print(name)
Anonymous Quiz
68%
Python
12%
null
15%
Exception
5%
None
March 21