Lesson 4 of 34

input(): பயனரிடம் கேட்பது

8 min 20 XP

input() பயனர் type செய்வதைப் பெறும். இங்கே Run செய்வதற்கு முன், Input பெட்டியில் மதிப்புகளை ஒவ்வொரு வரியிலும் ஒன்றாக எழுதுங்கள்.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

input() எப்போதும் string-ஐயே தரும். எண்ணாகப் பயன்படுத்த int(input()) என்று எழுதுங்கள்.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

ஒவ்வொரு input()-ம் Input பெட்டியின் அடுத்த வரியைப் படிக்கும்.

Challenge

+20 XP

இரண்டு எண்களை input() மூலம் பெற்று, அவற்றின் கூட்டுத்தொகையை print செய்யுங்கள். Input பெட்டியில் 5 மற்றும் 7 உள்ளது; பதில் 12 வர வேண்டும்.

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.