Python Codes Basic to Advance
2.66K subscribers
82 photos
5 videos
8 files
100 links
Python Codes Basic to Advance

All Codes
@C_Codes_pro
@CPP_Codes_pro
@Java_Codes_Pro
@nodejs_codes_pro

Discussion
@bca_mca_btech
Download Telegram
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>)
What is the output of following Python Code?
#python
1👍1
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (ᴀɴᴋɪᴛ </>)
s = set()

s.add(20) s.add(20.0) s.add("20") print(len(s))
Anonymous Quiz
17%
1
40%
2
26%
3
17%
None
👍21
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</>)
print(bool('0'))
print(bool(0))
Anonymous Quiz
28%
False , True
36%
True, False
25%
False, False
11%
True, True
4👍1
4
Forwarded from PYTHON PROGRAMMING (</> ᴍᴜᴋᴇsʜ </>)
print(max("hHiI"))
Anonymous Quiz
30%
H
18%
I
14%
i
16%
h
23%
Error
2👍1
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>)
print(min("hHiI"))
Anonymous Quiz
31%
H
27%
h
5%
I
10%
i
26%
Error
2
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>)
In Python, lists are mutable.
Anonymous Quiz
79%
True
21%
False
Learn Telegram bot development using Nodejs telegraf library: https://www.youtube.com/playlist?list=PLjEYzWkdEvxvJ8lZacERw_NiUKbB7l_dx

1 more video added
Subscribe to get updates
Solve it, using while loop !

Note :- Don't use len function
Solve it using while loop:
Note Dont use split or indexing method.
2
Government ne google ki dadagiri ko khatm karne ke liye apna khud ka app store banaya hai 🔥😍

Playstore pe jo apps hain unhe 30% Playstore ko apni kamayi ka hissa dena padta hai

https://apps.mgov.gov.in/details?appid=270

Aap sabhi ye government playstore ko download kare Aur logo ko bhi share Kare

Government ne to apna Kam Kar diya ab hamari Bari.
👏1
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
To concatenate two strings to a third what statements are applicable?
Anonymous Quiz
18%
s3 = s1 . s2
42%
s3 = s1.add(s2)
23%
s3 = s1.__add__(s2)
17%
s3 = s1 * s2
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
s = "hello, world!"
print(s[6:12])
What ia the output of the above python code??????
Anonymous Quiz
19%
, world
28%
world
36%
hello, world!
16%
Error
1