1
This commit is contained in:
		
							
								
								
									
										9
									
								
								3. Übungen/31.03.2022/while-übung-2.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								3. Übungen/31.03.2022/while-übung-2.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| # Programm, welches wiederholenden um 1 erhöht, startwert=1, obergrenze vom nutzer festglegt | ||||
| # Definieren | ||||
| x=1 | ||||
| # Eingabe | ||||
| obergrenze=float(input("Maximalen Wert festlegen:")) | ||||
|  | ||||
| while x<obergrenze+1: | ||||
|     print(x) | ||||
|     x=x+1 | ||||
		Reference in New Issue
	
	Block a user