3 questions
a=input('Enter multiple numbers:')a=list(a)try: if a.index('%') : del a[a.index('%')]elif a.index(' ') : del a[a.index(' ')]except : pass for i in range(len(a)) : print('\u2665' * 2*int(a.po...
Using elif,I'm working on a parking calculation program. I'm going to make a program like thisYou parked for a few minutes How much do you have to pay?How do I program to make it float?!
#include <stdio.h>void main(){ int num1; scanf_s(%d, &num1); if (0 < num1 < 45) printf(a); else if (90 < num1 < 160) printf(b); else printf (None;}What's wrong is only a and n...
© 2024 OneMinuteCode. All rights reserved.