Why is there three dot after a elif statement | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is there three dot after a elif statement

https://code.sololearn.com/cyq01VBhLk1b/?ref=app

11th Apr 2019, 6:16 PM
VYSHNAV A DINESH
VYSHNAV A DINESH - avatar
2 Answers
+ 3
First correct the indentation errors after the if statement
11th Apr 2019, 6:56 PM
William Otieno
William Otieno - avatar
+ 3
... is the literal for an object calles 'Ellipsis' that is used in some situations. In this situation it looks like the... in a text, but you could write any sort of object instead of it - like just a 1, True, False, a string and have the same effect. The normal way to write a line of placeholder code is 'pass'.
11th Apr 2019, 8:01 PM
HonFu
HonFu - avatar