How to hide the input info? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to hide the input info?

>>>num = int(input("Enter 0-9")) if num == 5: print("Bingo") else: if num > 5: print("It's too high") else: if num < 5: print("It's too low") Enter 0-9Bingo May I know how to hide the input info "enter 0-9"? Thanks!

11th Apr 2020, 2:35 PM
Eric
Eric - avatar
2 Answers
0
leave it blank "" ?
11th Apr 2020, 2:36 PM
durian
durian - avatar
0
use just num=int(input())
11th Apr 2020, 2:37 PM
Muhammad Bilal
Muhammad Bilal - avatar