Pythonist
@DeepPytonist
python so logic and fantastic
Islamic Republic of Iran
انضم في فبراير 2019
Which one is a tuple and why? 1) a = 100 2) a = 100 3) a = ("tuple") 4) a = (100) #Python #Coding #Tuple
0
0
0
0
6
Pythonist أعاد
10. Competitive Programming in Python 128 Algorithms to Develop Your Coding Skills 🎄 ia804600.us.archive.org/14/items/compe…
0
9
35
23
4ألف
In Python, a tuple is defined by the comma, not parentheses! 🚨 For example, `( 1 )` is not a tuple, but `( 1 , )` is a single-element tuple! t1 = ( 1 ) # This is an integer t2 = ( 1 , ) # This is a tuple! print(type(t1)) # <class 'int'>
0
0
0
0
7
United States الاتجاهات
- 1. Expedition 33 16.9K posts
- 2. GOTY 11.6K posts
- 3. Moana 15.3K posts
- 4. #IDontWantToOverreactBUT 1,345 posts
- 5. #TheGameAwards 18.5K posts
- 6. Sonic 3 3,102 posts
- 7. Zelda 44.5K posts
- 8. #BuyTheDipNXXT N/A
- 9. #TSCollection 1,406 posts
- 10. #RestoreTheSnyderVerse 22.7K posts
- 11. Cruz 44.3K posts
- 12. Tyrod Taylor 1,750 posts
- 13. Hades 2 9,839 posts
- 14. Split Fiction 3,470 posts
- 15. Jake Paul 11.2K posts
- 16. Silksong 28.8K posts
- 17. Victory Monday 6,099 posts
- 18. $NXXT 2,427 posts
- 19. Donkey Kong 7,929 posts
- 20. CHER 17K posts
Loading...
Something went wrong.
Something went wrong.