Notifications
Clear all
Topic starter
You are going to read just one character from a stream called s .
Which statement would you use?
- A . ch = read(s, 1)
B. ch = s. input(1)
C. ch = input(s, 1)
D. ch = s. read(l)
Suggested Answer: D
Explanation:
Reference: https://stackoverflow.com/questions/510357/python-read-a-single-character-from-the-user
Explanation:
Reference: https://stackoverflow.com/questions/510357/python-read-a-single-character-from-the-user
Posted : 23/01/2023 1:21 am